aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/memory/qv4mm_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-07-04 22:23:17 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-07-05 09:07:50 +0000
commitd3a1a9e4fea5f6b623ebd13f43957ebbe5bfabea (patch)
treea45456e687e70def0065042fae0ed4ccec103fb4 /src/qml/memory/qv4mm_p.h
parent493edae038338320fb29a3eb252f76c2ff24b74f (diff)
Unify SimpleCallContext and CallContext
Plan is to completely remove the need for the simple call context. Change-Id: Ie5e4673a6746dc110adbf526e45188f218fd7bfc Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/memory/qv4mm_p.h')
-rw-r--r--src/qml/memory/qv4mm_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/memory/qv4mm_p.h b/src/qml/memory/qv4mm_p.h
index 17957d0cd6..5227cf23ad 100644
--- a/src/qml/memory/qv4mm_p.h
+++ b/src/qml/memory/qv4mm_p.h
@@ -214,8 +214,8 @@ public:
QV4::Heap::CallContext *allocSimpleCallContext()
{
Heap::CallContext *ctxt = stackAllocator.allocate();
- memset(ctxt, 0, sizeof(Heap::SimpleCallContext));
- ctxt->internalClass = SimpleCallContext::defaultInternalClass(engine);
+ memset(ctxt, 0, sizeof(Heap::CallContext));
+ ctxt->internalClass = CallContext::defaultInternalClass(engine);
Q_ASSERT(ctxt->internalClass && ctxt->internalClass->vtable);
ctxt->init();
return ctxt;