Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index eb90b8c646c7d4f4ec0a39b76e76614d46a742bb..3de58329819f65f4d0976b76c78ed8747cab7680 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -1254,10 +1254,11 @@ class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { |
}; |
-class LStoreGlobal: public LTemplateInstruction<0, 1, 0> { |
+class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { |
public: |
- explicit LStoreGlobal(LOperand* value) { |
+ LStoreGlobal(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") |