Index: src/crankshaft/mips/lithium-mips.cc |
diff --git a/src/crankshaft/mips/lithium-mips.cc b/src/crankshaft/mips/lithium-mips.cc |
index f6577b249d18108f8d2615e2bfe9df251f2928ea..535946af2f4fda3e855935eba70e266ddeac4f69 100644 |
--- a/src/crankshaft/mips/lithium-mips.cc |
+++ b/src/crankshaft/mips/lithium-mips.cc |
@@ -2139,7 +2139,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
DCHECK(instr->representation().IsSmiOrTagged()); |
obj = UseRegisterAtStart(instr->elements()); |
} |
- result = DefineAsRegister(new(zone()) LLoadKeyed(obj, key)); |
+ result = DefineAsRegister(new (zone()) LLoadKeyed(obj, key, nullptr)); |
} else { |
DCHECK( |
(instr->representation().IsInteger32() && |
@@ -2147,7 +2147,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; |
@@ -2212,7 +2214,7 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
} |
} |
- return new(zone()) LStoreKeyed(object, key, val); |
+ return new (zone()) LStoreKeyed(object, key, val, nullptr); |
} |
DCHECK( |
@@ -2224,7 +2226,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); |
} |