Index: src/crankshaft/x87/lithium-x87.cc |
diff --git a/src/crankshaft/x87/lithium-x87.cc b/src/crankshaft/x87/lithium-x87.cc |
index 8dbf3f37b0995ea8af23b072cd7cd8d04211c0d7..2047fe5b24ccd2f1de5d46ef5a0df2be835f326d 100644 |
--- a/src/crankshaft/x87/lithium-x87.cc |
+++ b/src/crankshaft/x87/lithium-x87.cc |
@@ -2184,7 +2184,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() && |
@@ -2192,7 +2192,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; |
@@ -2263,7 +2265,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(); |
@@ -2278,7 +2280,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); |
} |
} |
@@ -2297,7 +2299,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); |
} |