diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-11-03 03:17:57 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-08 19:47:34 +0100 |
commit | ef8ad8234b481d3985d748f7607ef486e1af086f (patch) | |
tree | 56f6be7ff0746449847399903d2269ef4a08a741 /tools/qmljs | |
parent | aeb7d3ebbbc5ac16bf7b2f08874f13912b683007 (diff) |
Move Data of FunctionObject and related classes into Heap
Change-Id: Iadf74f953798c1884e0ec704ccb7c70d971e3273
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools/qmljs')
-rw-r--r-- | tools/qmljs/qmljs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp index c381d702e1..2e4db65f94 100644 --- a/tools/qmljs/qmljs.cpp +++ b/tools/qmljs/qmljs.cpp @@ -64,9 +64,9 @@ using namespace QV4; struct Print: FunctionObject { - struct Data : FunctionObject::Data { + struct Data : Heap::FunctionObject { Data(ExecutionContext *scope) - : FunctionObject::Data(scope, QStringLiteral("print")) { + : Heap::FunctionObject(scope, QStringLiteral("print")) { setVTable(staticVTable()); } }; @@ -89,9 +89,9 @@ DEFINE_OBJECT_VTABLE(Print); struct GC: public FunctionObject { - struct Data : FunctionObject::Data { + struct Data : Heap::FunctionObject { Data(ExecutionContext *scope) - : FunctionObject::Data(scope, QStringLiteral("gc")) + : Heap::FunctionObject(scope, QStringLiteral("gc")) { setVTable(staticVTable()); } |