Changeset 14799 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Jun 9, 2006, 8:57:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r14734 r14799 72 72 73 73 // enter a new execution context 74 Context Impctx(globalObj, exec->dynamicInterpreter()->imp(), thisObj, body.get(),75 codeType(), exec->context() .imp(), this, &args);74 Context ctx(globalObj, exec->dynamicInterpreter()->imp(), thisObj, body.get(), 75 codeType(), exec->context(), this, &args); 76 76 ExecState newExec(exec->dynamicInterpreter(), &ctx); 77 77 newExec.setException(exec->exception()); // could be null … … 164 164 void FunctionImp::processParameters(ExecState *exec, const List &args) 165 165 { 166 JSObject *variable = exec->context().imp()->variableObject();166 JSObject* variable = exec->context()->variableObject(); 167 167 168 168 #ifdef KJS_VERBOSE … … 204 204 { 205 205 FunctionImp *thisObj = static_cast<FunctionImp *>(slot.slotBase()); 206 Context Imp*context = exec->m_context;206 Context *context = exec->m_context; 207 207 while (context) { 208 208 if (context->function() == thisObj) { … … 800 800 801 801 // enter a new execution context 802 JSObject *thisVal = static_cast<JSObject *>(exec->context() .thisValue());803 Context Impctx(exec->dynamicInterpreter()->globalObject(),802 JSObject *thisVal = static_cast<JSObject *>(exec->context()->thisValue()); 803 Context ctx(exec->dynamicInterpreter()->globalObject(), 804 804 exec->dynamicInterpreter()->imp(), 805 805 thisVal, 806 806 progNode.get(), 807 807 EvalCode, 808 exec->context() .imp());808 exec->context()); 809 809 810 810 ExecState newExec(exec->dynamicInterpreter(), &ctx);
Note:
See TracChangeset
for help on using the changeset viewer.