aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4globalobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-04 15:34:56 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-08 19:48:10 +0100
commit04bf728d7d02c56f9f526bf0b71b31690a5e9e92 (patch)
tree61b8fcb6032a2b1018a6de27308cf4c3158f2fa4 /src/qml/jsruntime/qv4globalobject.cpp
parent980e7fae0a010d519907a58ab891cc6ca94eb56a (diff)
Move Data of the builtin functions to the Heap namespace
Change-Id: I8a77fe3fa9b6538cf6c75817eae7dc34df8ab329 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4globalobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp
index 8424fd6935..fd20a628cf 100644
--- a/src/qml/jsruntime/qv4globalobject.cpp
+++ b/src/qml/jsruntime/qv4globalobject.cpp
@@ -338,10 +338,10 @@ static QString decode(const QString &input, DecodeMode decodeMode, bool *ok)
DEFINE_OBJECT_VTABLE(EvalFunction);
-EvalFunction::Data::Data(ExecutionContext *scope)
+Heap::EvalFunction::EvalFunction(QV4::ExecutionContext *scope)
: Heap::FunctionObject(scope, scope->d()->engine->id_eval)
{
- setVTable(staticVTable());
+ setVTable(QV4::EvalFunction::staticVTable());
Scope s(scope);
ScopedFunctionObject f(s, this);
f->defineReadonlyProperty(s.engine->id_length, Primitive::fromInt32(1));