return c;
}
-CallContext *ExecutionEngine::newCallContext(FunctionObject *f, const Value &thisObject, Value *args, int argc)
-{
- CallContext *c = static_cast<CallContext *>(memoryManager->allocContext(requiredMemoryForExecutionContect(f, argc)));
- ExecutionContext *p = current;
- current = c;
- c->initCallContext(p, f, args, argc, thisObject);
-
- return c;
-}
-
CallContext *ExecutionEngine::newQmlContext(FunctionObject *f, Object *qml)
{
CallContext *c = static_cast<CallContext *>(memoryManager->allocContext(requiredMemoryForExecutionContect(f, 0)));
WithContext *newWithContext(Object *with);
CatchContext *newCatchContext(String* exceptionVarName, const QV4::Value &exceptionValue);
- CallContext *newCallContext(FunctionObject *f, const QV4::Value &thisObject, QV4::Value *args, int argc);
CallContext *newCallContext(void *stackSpace, FunctionObject *f, const QV4::Value &thisObject, QV4::Value *args, int argc);
CallContext *newQmlContext(FunctionObject *f, Object *qml);
ExecutionContext *pushGlobalContext();