Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 0beff75b8238d8425e49c86eafcac2afa061c2dd..6b104ce2438a216158d0fdc1b9cd2eee0dc905d7 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -2175,17 +2175,22 @@ class LStoreNamedField final : public LTemplateInstruction<0, 2, 2> { |
}; |
-class LStoreNamedGeneric final : public LTemplateInstruction<0, 3, 0> { |
+class LStoreNamedGeneric final : public LTemplateInstruction<0, 3, 2> { |
public: |
- LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) { |
+ LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value, |
+ LOperand* slot, LOperand* vector) { |
inputs_[0] = context; |
inputs_[1] = object; |
inputs_[2] = value; |
+ temps_[0] = slot; |
+ temps_[1] = vector; |
} |
LOperand* context() { return inputs_[0]; } |
LOperand* object() { return inputs_[1]; } |
LOperand* value() { return inputs_[2]; } |
+ LOperand* temp_slot() { return temps_[0]; } |
+ LOperand* temp_vector() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") |
DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) |
@@ -2227,22 +2232,24 @@ class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> { |
}; |
-class LStoreKeyedGeneric final : public LTemplateInstruction<0, 4, 0> { |
+class LStoreKeyedGeneric final : public LTemplateInstruction<0, 4, 2> { |
public: |
- LStoreKeyedGeneric(LOperand* context, |
- LOperand* object, |
- LOperand* key, |
- LOperand* value) { |
+ LStoreKeyedGeneric(LOperand* context, LOperand* object, LOperand* key, |
+ LOperand* value, LOperand* slot, LOperand* vector) { |
inputs_[0] = context; |
inputs_[1] = object; |
inputs_[2] = key; |
inputs_[3] = value; |
+ temps_[0] = slot; |
+ temps_[1] = vector; |
} |
LOperand* context() { return inputs_[0]; } |
LOperand* object() { return inputs_[1]; } |
LOperand* key() { return inputs_[2]; } |
LOperand* value() { return inputs_[3]; } |
+ LOperand* temp_slot() { return temps_[0]; } |
+ LOperand* temp_vector() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") |
DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) |