Changeset 27100 in webkit for trunk/JavaScriptCore/kjs/interpreter.cpp
- Timestamp:
- Oct 26, 2007, 3:36:45 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.cpp
r27097 r27100 83 83 84 84 Interpreter::Interpreter(JSGlobalObject* globalObject) 85 : m_ globalExec(this,0)85 : m_currentExec(0) 86 86 , m_globalObject(globalObject) 87 , m_globalExec(this, globalObject, globalObject, 0) 87 88 { 88 89 init(); … … 90 91 91 92 Interpreter::Interpreter() 92 : m_ globalExec(this,0)93 : m_currentExec(0) 93 94 , m_globalObject(new JSGlobalObject()) 95 , m_globalExec(this, m_globalObject, m_globalObject, 0) 94 96 { 95 97 init(); … … 104 106 m_recursion = 0; 105 107 m_debugger= 0; 106 m_context = 0;107 108 108 109 resetTimeoutCheck(); … … 362 363 else { 363 364 // execute the code 364 Context ctx(globalObj, this, thisObj, progNode.get()); 365 ExecState newExec(this, &ctx); 366 ctx.setExecState(&newExec); 365 ExecState newExec(this, globalObj, thisObj, progNode.get()); 367 366 res = progNode->execute(&newExec); 368 367 } … … 538 537 void Interpreter::mark() 539 538 { 540 if (m_c ontext)541 m_c ontext->mark();539 if (m_currentExec) 540 m_currentExec->mark(); 542 541 543 542 if (m_globalExec.exception() && !m_globalExec.exception()->marked())
Note:
See TracChangeset
for help on using the changeset viewer.