diff options
| author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-01-10 20:51:15 +0100 |
|---|---|---|
| committer | Lars Knoll <lars.knoll@digia.com> | 2015-01-21 13:18:47 +0100 |
| commit | 36662b60b09f636c3623057f8116e862f94ff440 (patch) | |
| tree | 1a8a1ee74db89745ea3e327f70229b6b29bb2e62 /src/qml/jsruntime/qv4script.cpp | |
| parent | 85bf8d732b9651ce7b88d5464b8b3aae138e1893 (diff) | |
Remove all the setVTable() calls that aren't required anymore
The memory manager's allocation methods now set this up correctly
for us :)
Change-Id: I8492bf732df601f95a1a851fb3804127ffc83935
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 4 |
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); |
