Changeset 13304 in webkit for trunk/JavaScriptCore/kjs/internal.cpp
- Timestamp:
- Mar 15, 2006, 2:21:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.cpp
r13153 r13304 189 189 190 190 // ECMA 10.2 191 ContextImp::ContextImp(JSObject *glob, InterpreterImp *interpreter, JSObject *thisV, CodeType type, 192 ContextImp *callingCon, FunctionImp *func, const List *args) 193 : _interpreter(interpreter), _function(func), _arguments(args) 191 ContextImp::ContextImp(JSObject *glob, InterpreterImp *interpreter, JSObject *thisV, FunctionBodyNode* currentBody, 192 193 CodeType type, ContextImp *callingCon, FunctionImp *func, const List *args) 194 : _interpreter(interpreter) 195 , m_currentBody(currentBody) 196 , _function(func) 197 , _arguments(args) 198 , m_iterationDepth(0) 199 , m_switchDepth(0) 194 200 { 195 201 m_codeType = type; … … 443 449 if (global) 444 450 global->mark(); 445 if (globExec. _exception)446 globExec. _exception->mark();451 if (globExec.exception()) 452 globExec.exception()->mark(); 447 453 } 448 454 … … 498 504 else { 499 505 // execute the code 500 ContextImp ctx(globalObj, this, thisObj );506 ContextImp ctx(globalObj, this, thisObj, progNode.get()); 501 507 ExecState newExec(m_interpreter, &ctx); 502 508 progNode->processVarDecls(&newExec);
Note:
See TracChangeset
for help on using the changeset viewer.