Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index f1b9ffc997bc7fb36feb13bd1e9870a7c9c75afd..52f8e584f743ffb7dfb38b4b6c1e0819ace5c451 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1265,14 +1265,23 @@ class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { |
}; |
-class LStoreGlobal: public LTemplateInstruction<0, 1, 0> { |
+class LStoreGlobal: public LTemplateInstruction<0, 1, 2> { |
public: |
- explicit LStoreGlobal(LOperand* value) { |
+ explicit LStoreGlobal(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
} |
+ LOperand* temp1() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
+ |
DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") |
DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) |
+ |
+ private: |
+ LOperand* temp1_; |
+ LOperand* temp2_; |
}; |