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 /src/qml/jsruntime/qv4script.cpp | |
| 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 'src/qml/jsruntime/qv4script.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index da6503c1ab..69304e5060 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -54,7 +54,7 @@ using namespace QV4; QmlBindingWrapper::Data::Data(ExecutionContext *scope, Function *f, QV4::Object *qml) - : FunctionObject::Data(scope, scope->d()->engine->id_eval, /*createProto = */ false) + : Heap::FunctionObject(scope, scope->d()->engine->id_eval, /*createProto = */ false) , qml(qml) { Q_ASSERT(scope->inUse()); @@ -75,7 +75,7 @@ QmlBindingWrapper::Data::Data(ExecutionContext *scope, Function *f, QV4::Object } QmlBindingWrapper::Data::Data(ExecutionContext *scope, QV4::Object *qml) - : FunctionObject::Data(scope, scope->d()->engine->id_eval, /*createProto = */ false) + : Heap::FunctionObject(scope, scope->d()->engine->id_eval, /*createProto = */ false) , qml(qml) { Q_ASSERT(scope->inUse()); |
