diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp index 885186e86b..56ca31c85d 100644 --- a/src/qml/jsruntime/qv4engine.cpp +++ b/src/qml/jsruntime/qv4engine.cpp @@ -246,6 +246,7 @@ ExecutionEngine::ExecutionEngine(EvalISelFactory *factory) id_index = newIdentifier(QStringLiteral("index")); id_input = newIdentifier(QStringLiteral("input")); id_toString = newIdentifier(QStringLiteral("toString")); + id_destroy = newIdentifier(QStringLiteral("destroy")); id_valueOf = newIdentifier(QStringLiteral("valueOf")); ObjectPrototype *objectPrototype = new (memoryManager) ObjectPrototype(InternalClass::create(this, ObjectPrototype::staticVTable(), 0)); @@ -863,6 +864,7 @@ void ExecutionEngine::markObjects() id_index->mark(this); id_input->mark(this); id_toString->mark(this); + id_destroy->mark(this); id_valueOf->mark(this); objectCtor.mark(this); |