Changeset 37297 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Oct 4, 2008, 2:12:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r37257 r37297 143 143 d()->debugger = 0; 144 144 145 d()->globalExec.set(new ExecState(d()->globalCallFrame + RegisterFile::CallFrameHeaderSize));146 147 145 d()->profileGroup = 0; 148 146 … … 199 197 void JSGlobalObject::reset(JSValue* prototype) 200 198 { 201 ExecState* exec = d()->globalExec.get();199 ExecState* exec = JSGlobalObject::globalExec(); 202 200 203 201 // Prototypes … … 365 363 registerFile.markGlobals(&globalData()->heap); 366 364 367 markIfNeeded(d()->globalExec->exception());368 369 365 markIfNeeded(d()->regExpConstructor); 370 366 markIfNeeded(d()->errorConstructor); … … 411 407 ExecState* JSGlobalObject::globalExec() 412 408 { 413 return d()->globalExec.get();409 return CallFrame::create(d()->globalCallFrame + RegisterFile::CallFrameHeaderSize); 414 410 } 415 411
Note:
See TracChangeset
for help on using the changeset viewer.