Index: src/crankshaft/ppc/lithium-ppc.h |
diff --git a/src/crankshaft/ppc/lithium-ppc.h b/src/crankshaft/ppc/lithium-ppc.h |
index cacd3b8977fa4df3d88e777b0862bb5832d81bf0..e695d99ad4c9ea934f2bbea9a3b2a14b5a45c53d 100644 |
--- a/src/crankshaft/ppc/lithium-ppc.h |
+++ b/src/crankshaft/ppc/lithium-ppc.h |
@@ -1544,15 +1544,17 @@ class LLoadRoot final : public LTemplateInstruction<1, 0, 0> { |
}; |
-class LLoadKeyed final : public LTemplateInstruction<1, 2, 0> { |
+class LLoadKeyed final : public LTemplateInstruction<1, 3, 0> { |
public: |
- LLoadKeyed(LOperand* elements, LOperand* key) { |
+ LLoadKeyed(LOperand* elements, LOperand* key, LOperand* backing_store_owner) { |
inputs_[0] = elements; |
inputs_[1] = key; |
+ inputs_[2] = backing_store_owner; |
} |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
+ LOperand* backing_store_owner() { return inputs_[2]; } |
ElementsKind elements_kind() const { return hydrogen()->elements_kind(); } |
bool is_fixed_typed_array() const { |
return hydrogen()->is_fixed_typed_array(); |
@@ -2064,12 +2066,14 @@ class LStoreNamedGeneric final : public LTemplateInstruction<0, 3, 2> { |
}; |
-class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> { |
+class LStoreKeyed final : public LTemplateInstruction<0, 4, 0> { |
public: |
- LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { |
+ LStoreKeyed(LOperand* object, LOperand* key, LOperand* value, |
+ LOperand* backing_store_owner) { |
inputs_[0] = object; |
inputs_[1] = key; |
inputs_[2] = value; |
+ inputs_[3] = backing_store_owner; |
} |
bool is_fixed_typed_array() const { |
@@ -2078,6 +2082,7 @@ class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> { |
LOperand* elements() { return inputs_[0]; } |
LOperand* key() { return inputs_[1]; } |
LOperand* value() { return inputs_[2]; } |
+ LOperand* backing_store_owner() { return inputs_[3]; } |
ElementsKind elements_kind() const { return hydrogen()->elements_kind(); } |
DECLARE_CONCRETE_INSTRUCTION(StoreKeyed, "store-keyed") |