equal
deleted
inserted
replaced
72 |
72 |
73 JSValue* FunctionImp::callAsFunction(ExecState* exec, JSObject* thisObj, const List& args) |
73 JSValue* FunctionImp::callAsFunction(ExecState* exec, JSObject* thisObj, const List& args) |
74 { |
74 { |
75 JSObject* globalObj = exec->dynamicInterpreter()->globalObject(); |
75 JSObject* globalObj = exec->dynamicInterpreter()->globalObject(); |
76 |
76 |
|
77 #if PLATFORM(SYMBIAN) |
|
78 exec->dynamicInterpreter()->resetStatementCount(); |
|
79 #endif |
77 // enter a new execution context |
80 // enter a new execution context |
78 Context ctx(globalObj, exec->dynamicInterpreter(), thisObj, body.get(), |
81 Context ctx(globalObj, exec->dynamicInterpreter(), thisObj, body.get(), |
79 codeType(), exec->context(), this, &args); |
82 codeType(), exec->context(), this, &args); |
80 ExecState newExec(exec->dynamicInterpreter(), &ctx); |
83 ExecState newExec(exec->dynamicInterpreter(), &ctx); |
81 if (exec->hadException()) |
84 if (exec->hadException()) |