aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context.cpp
diff options
context:
space:
mode:
authorLars Knoll <[email protected]>2016-12-21 17:22:57 +0100
committerLars Knoll <[email protected]>2017-01-25 08:30:47 +0000
commit49f43a9f889a0697efb4a90bbce2ccaa44532c92 (patch)
tree9f749a51308fa87871f4b459d62c312a66d39f77 /src/qml/jsruntime/qv4context.cpp
parenta31a5a43b364ab70f10a7619234492dedd8c8dfe (diff)
Cleanup Heap::Base
Since the markbit is not stored in line anymore, we can now simply store the pointer to the vtable in the object. Change-Id: I81b616c825dd4f3f2140838daab1f62bd6ecc812 Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4context.cpp')
-rw-r--r--src/qml/jsruntime/qv4context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp
index 0954d621a6..486447f10a 100644
--- a/src/qml/jsruntime/qv4context.cpp
+++ b/src/qml/jsruntime/qv4context.cpp
@@ -99,7 +99,6 @@ Heap::CallContext *Heap::CallContext::createSimpleContext(ExecutionEngine *v4)
{
Heap::CallContext *ctxt = v4->memoryManager->allocSimpleCallContext();
memset(ctxt, 0, sizeof(Heap::CallContext));
- ctxt->mm_data = 0;
ctxt->setVtable(QV4::CallContext::staticVTable());
ctxt->init(v4);
return ctxt;