| Index: src/crankshaft/x64/lithium-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc
|
| index 1e3e52b47cad02960c944ad22cf873d1bf560dbe..76df55dcef2d8eb989ceb78a549d9aaae2227780 100644
|
| --- a/src/crankshaft/x64/lithium-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-x64.cc
|
| @@ -2203,7 +2203,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() &&
|
| @@ -2211,7 +2211,9 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
| (instr->representation().IsDouble() &&
|
| (IsDoubleOrFloatElementsKind(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;
|
| @@ -2283,7 +2285,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| }
|
| }
|
|
|
| - return new(zone()) LStoreKeyed(object, key, val);
|
| + return new (zone()) LStoreKeyed(object, key, val, nullptr);
|
| }
|
|
|
| DCHECK(
|
| @@ -2307,7 +2309,8 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| : UseRegisterOrConstantAtStart(instr->key());
|
| }
|
| LOperand* backing_store = UseRegister(instr->elements());
|
| - 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);
|
| }
|
|
|
|
|
|
|