Changeset 96992 in webkit for trunk/Source/JavaScriptCore/runtime/JSCell.cpp
- Timestamp:
- Oct 7, 2011, 5:06:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCell.cpp
r96673 r96992 96 96 void JSCell::put(ExecState* exec, const Identifier& identifier, JSValue value, PutPropertySlot& slot) 97 97 { 98 toObject(exec, exec->lexicalGlobalObject())->put(exec, identifier, value, slot); 98 put(this, exec, identifier, value, slot); 99 } 100 101 void JSCell::put(JSCell* cell, ExecState* exec, const Identifier& identifier, JSValue value, PutPropertySlot& slot) 102 { 103 cell->toObject(exec, exec->lexicalGlobalObject())->put(exec, identifier, value, slot); 99 104 } 100 105 101 106 void JSCell::put(ExecState* exec, unsigned identifier, JSValue value) 102 107 { 103 toObject(exec, exec->lexicalGlobalObject())->put(exec, identifier, value); 108 put(this, exec, identifier, value); 109 } 110 111 void JSCell::put(JSCell* cell, ExecState* exec, unsigned identifier, JSValue value) 112 { 113 cell->toObject(exec, exec->lexicalGlobalObject())->put(exec, identifier, value); 104 114 } 105 115
Note:
See TracChangeset
for help on using the changeset viewer.