Changeset 161220 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Jan 2, 2014, 12:56:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r161077 r161220 412 412 413 413 if (propertyName > MAX_ARRAY_INDEX) { 414 PutPropertySlot slot( shouldThrow);414 PutPropertySlot slot(cell, shouldThrow); 415 415 thisObject->methodTable()->put(thisObject, exec, Identifier::from(exec, propertyName), value, slot); 416 416 return; … … 1216 1216 void JSObject::putDirectNonIndexAccessor(VM& vm, PropertyName propertyName, JSValue value, unsigned attributes) 1217 1217 { 1218 PutPropertySlot slot ;1218 PutPropertySlot slot(this); 1219 1219 putDirectInternal<PutModeDefineOwnProperty>(vm, propertyName, value, attributes, slot, getCallableObject(value)); 1220 1220 … … 1270 1270 return false; // this builtin property can't be deleted 1271 1271 1272 putEntry(exec, entry, propertyName, jsUndefined(), thisObject); 1272 PutPropertySlot slot(thisObject); 1273 putEntry(exec, entry, propertyName, jsUndefined(), slot); 1273 1274 } 1274 1275
Note:
See TracChangeset
for help on using the changeset viewer.