Changeset 161220 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Jan 2, 2014, 12:56:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r161077 r161220 111 111 112 112 if (isName(property)) { 113 PutPropertySlot slot( strict);113 PutPropertySlot slot(baseValue, strict); 114 114 if (direct) { 115 115 RELEASE_ASSERT(baseValue.isObject()); … … 123 123 Identifier ident(exec, property.toString(exec)->value(exec)); 124 124 if (!vm->exception()) { 125 PutPropertySlot slot( strict);125 PutPropertySlot slot(baseValue, strict); 126 126 if (direct) { 127 127 RELEASE_ASSERT(baseValue.isObject()); … … 400 400 } 401 401 402 PutPropertySlot slot( true);402 PutPropertySlot slot(array, true); 403 403 array->methodTable()->put( 404 404 array, exec, Identifier::from(exec, index), JSValue::decode(encodedValue), slot); … … 415 415 } 416 416 417 PutPropertySlot slot( false);417 PutPropertySlot slot(array, false); 418 418 array->methodTable()->put( 419 419 array, exec, Identifier::from(exec, index), JSValue::decode(encodedValue), slot); … … 432 432 } 433 433 434 PutPropertySlot slot( true);434 PutPropertySlot slot(array, true); 435 435 array->methodTable()->put( 436 436 array, exec, Identifier::from(exec, index), jsValue, slot); … … 449 449 } 450 450 451 PutPropertySlot slot( false);451 PutPropertySlot slot(array, false); 452 452 array->methodTable()->put( 453 453 array, exec, Identifier::from(exec, index), jsValue, slot); … … 495 495 } 496 496 497 PutPropertySlot slot( true);497 PutPropertySlot slot(array, true); 498 498 array->putDirect(exec->vm(), Identifier::from(exec, index), JSValue::decode(encodedValue), slot); 499 499 } … … 509 509 } 510 510 511 PutPropertySlot slot( false);511 PutPropertySlot slot(array, false); 512 512 array->putDirect(exec->vm(), Identifier::from(exec, index), JSValue::decode(encodedValue), slot); 513 513 }
Note:
See TracChangeset
for help on using the changeset viewer.