Changeset 34810 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
- Timestamp:
- Jun 26, 2008, 11:59:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.cpp
r34754 r34810 92 92 JSGlobalObject::~JSGlobalObject() 93 93 { 94 ASSERT(JSLock::currentThreadIsHoldingLock()); 95 94 96 if (d()->debugger) 95 97 d()->debugger->detach(this); … … 114 116 ASSERT(JSLock::currentThreadIsHoldingLock()); 115 117 118 d()->globalData = (Heap::heap(this) == JSGlobalData::sharedInstance().heap) ? &JSGlobalData::sharedInstance() : &JSGlobalData::threadInstance(); 119 116 120 if (JSGlobalObject*& headObject = head()) { 117 121 d()->prev = headObject; … … 129 133 d()->debugger = 0; 130 134 131 d()->globalData = (Heap::heap(this) == JSGlobalData::sharedInstance().heap) ? &JSGlobalData::sharedInstance() : &JSGlobalData::threadInstance();132 133 135 d()->globalExec.set(new ExecState(this, thisValue, d()->globalScopeChain.node())); 134 136
Note:
See TracChangeset
for help on using the changeset viewer.