Changeset 96992 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Oct 7, 2011, 5:06:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp
r96760 r96992 137 137 void JSGlobalObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 138 138 { 139 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); 140 141 if (symbolTablePut(exec->globalData(), propertyName, value)) 139 put(this, exec, propertyName, value, slot); 140 } 141 142 void JSGlobalObject::put(JSCell* cell, ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 143 { 144 JSGlobalObject* thisObject = static_cast<JSGlobalObject*>(cell); 145 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(thisObject)); 146 147 if (thisObject->symbolTablePut(exec->globalData(), propertyName, value)) 142 148 return; 143 JSVariableObject::put( exec, propertyName, value, slot);149 JSVariableObject::put(thisObject, exec, propertyName, value, slot); 144 150 } 145 151
Note:
See TracChangeset
for help on using the changeset viewer.