| Index: src/crankshaft/x87/lithium-x87.cc
|
| diff --git a/src/crankshaft/x87/lithium-x87.cc b/src/crankshaft/x87/lithium-x87.cc
|
| index 7a5cdfb39102bd3a27afb899133df73f217384f3..72b0797ea9f84848fb2abd06f523165e77d84626 100644
|
| --- a/src/crankshaft/x87/lithium-x87.cc
|
| +++ b/src/crankshaft/x87/lithium-x87.cc
|
| @@ -2201,7 +2201,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
|
|
| if (!instr->is_fixed_typed_array()) {
|
| LOperand* obj = UseRegisterAtStart(instr->elements());
|
| - result = DefineAsRegister(new(zone()) LLoadKeyed(obj, key));
|
| + result = DefineAsRegister(new (zone()) LLoadKeyed(obj, key, nullptr));
|
| } else {
|
| DCHECK(
|
| (instr->representation().IsInteger32() &&
|
| @@ -2209,7 +2209,9 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
| (instr->representation().IsDouble() &&
|
| (IsDoubleOrFloatElementsKind(instr->elements_kind()))));
|
| LOperand* backing_store = UseRegister(instr->elements());
|
| - result = DefineAsRegister(new(zone()) LLoadKeyed(backing_store, key));
|
| + LOperand* backing_store_owner = UseAny(instr->backing_store_owner());
|
| + result = DefineAsRegister(
|
| + new (zone()) LLoadKeyed(backing_store, key, backing_store_owner));
|
| }
|
|
|
| bool needs_environment;
|
| @@ -2280,7 +2282,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| ? NULL
|
| : UseRegisterAtStart(instr->value());
|
| LOperand* key = UseRegisterOrConstantAtStart(instr->key());
|
| - return new(zone()) LStoreKeyed(object, key, val);
|
| + return new (zone()) LStoreKeyed(object, key, val, nullptr);
|
| } else {
|
| DCHECK(instr->value()->representation().IsSmiOrTagged());
|
| bool needs_write_barrier = instr->NeedsWriteBarrier();
|
| @@ -2295,7 +2297,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| val = UseRegisterOrConstantAtStart(instr->value());
|
| key = UseRegisterOrConstantAtStart(instr->key());
|
| }
|
| - return new(zone()) LStoreKeyed(obj, key, val);
|
| + return new (zone()) LStoreKeyed(obj, key, val, nullptr);
|
| }
|
| }
|
|
|
| @@ -2314,7 +2316,8 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| LOperand* key = clobbers_key
|
| ? UseTempRegister(instr->key())
|
| : UseRegisterOrConstantAtStart(instr->key());
|
| - return new(zone()) LStoreKeyed(backing_store, key, val);
|
| + LOperand* backing_store_owner = UseAny(instr->backing_store_owner());
|
| + return new (zone()) LStoreKeyed(backing_store, key, val, backing_store_owner);
|
| }
|
|
|
|
|
|
|