| Index: src/crankshaft/ppc/lithium-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-ppc.cc b/src/crankshaft/ppc/lithium-ppc.cc
|
| index 2d37fead502a9777cea87bb814c5d85aca95dfe2..67a860ae55370eaf51489637e711d1d6af65b34f 100644
|
| --- a/src/crankshaft/ppc/lithium-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-ppc.cc
|
| @@ -2165,14 +2165,16 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
| } else {
|
| obj = UseRegisterAtStart(instr->elements());
|
| }
|
| - result = DefineAsRegister(new (zone()) LLoadKeyed(obj, key));
|
| + result = DefineAsRegister(new (zone()) LLoadKeyed(obj, key, nullptr));
|
| } else {
|
| DCHECK((instr->representation().IsInteger32() &&
|
| !IsDoubleOrFloatElementsKind(elements_kind)) ||
|
| (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;
|
| @@ -2235,7 +2237,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| }
|
| }
|
|
|
| - return new (zone()) LStoreKeyed(object, key, val);
|
| + return new (zone()) LStoreKeyed(object, key, val, nullptr);
|
| }
|
|
|
| DCHECK((instr->value()->representation().IsInteger32() &&
|
| @@ -2246,7 +2248,8 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| LOperand* val = UseRegister(instr->value());
|
| LOperand* key = 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);
|
| }
|
|
|
|
|
|
|