aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-03 03:17:57 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-08 19:47:34 +0100
commitef8ad8234b481d3985d748f7607ef486e1af086f (patch)
tree56f6be7ff0746449847399903d2269ef4a08a741 /src/qml/jsruntime/qv4runtime.cpp
parentaeb7d3ebbbc5ac16bf7b2f08874f13912b683007 (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/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index c73d93bc9b..f76e9651a5 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -302,7 +302,7 @@ QV4::ReturnedValue Runtime::instanceof(ExecutionContext *ctx, const ValueRef lef
if (!f)
return ctx->engine()->throwTypeError();
- if (f->subtype() == FunctionObject::BoundFunction)
+ if (f->subtype() == Heap::FunctionObject::BoundFunction)
f = static_cast<BoundFunction *>(f)->target();
Object *v = left->asObject();