Changeset 37257 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Oct 3, 2008, 2:39:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r37215 r37257 123 123 } 124 124 125 void JSGlobalObject::init( )125 void JSGlobalObject::init(JSObject* thisValue) 126 126 { 127 127 ASSERT(JSLock::currentThreadIsHoldingLock()); 128 128 129 129 d()->globalData = Heap::heap(this)->globalData(); 130 d()->globalScopeChain = ScopeChain(this, d()->globalData.get(), thisValue); 131 132 Machine::initializeCallFrame(d()->globalCallFrame + RegisterFile::CallFrameHeaderSize, 0, 0, d()->globalScopeChain.node(), makeHostCallFramePointer(0), 0, 0, 0); 130 133 131 134 if (JSGlobalObject*& headObject = head()) { … … 140 143 d()->debugger = 0; 141 144 142 d()->globalExec.set(new ExecState( this,d()->globalCallFrame + RegisterFile::CallFrameHeaderSize));145 d()->globalExec.set(new ExecState(d()->globalCallFrame + RegisterFile::CallFrameHeaderSize)); 143 146 144 147 d()->profileGroup = 0;
Note:
See TracChangeset
for help on using the changeset viewer.