diff options
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index 8bbc021738..c41b720610 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1226,7 +1226,6 @@ QV4::ReturnedValue Runtime::method_createMappedArgumentsObject(ExecutionEngine * QV4::ReturnedValue Runtime::method_createUnmappedArgumentsObject(ExecutionEngine *engine) { - Q_ASSERT(engine->currentContext()->d()->type == Heap::ExecutionContext::Type_CallContext); QV4::InternalClass *ic = engine->internalClasses[EngineBase::Class_StrictArgumentsObject]; return engine->memoryManager->allocObject<StrictArgumentsObject>(ic, engine->objectPrototype(), engine->currentStackFrame)->asReturnedValue(); } |