aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index e8471ca019..f7afd004b9 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -75,7 +75,6 @@ Heap::CompilationUnitHolder::CompilationUnitHolder(ExecutionEngine *engine, Comp
: Heap::Object(engine)
, unit(unit)
{
- setVTable(QV4::CompilationUnitHolder::staticVTable());
}
}
@@ -93,7 +92,6 @@ Heap::QmlBindingWrapper::QmlBindingWrapper(QV4::ExecutionContext *scope, Functio
{
Q_ASSERT(scope->inUse());
- setVTable(QV4::QmlBindingWrapper::staticVTable());
function = f;
if (function)
function->compilationUnit->addref();
@@ -114,8 +112,6 @@ Heap::QmlBindingWrapper::QmlBindingWrapper(QV4::ExecutionContext *scope, QV4::Ob
{
Q_ASSERT(scope->inUse());
- setVTable(QV4::QmlBindingWrapper::staticVTable());
-
Scope s(scope);
Scoped<QV4::QmlBindingWrapper> o(s, this);