Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 8c3ecf9a9dc8f36c9876605b4e074c66a0c3eac2..ea33c5fddb70df10016ef3f3fdea58bb30fcda68 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -1269,10 +1269,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) { |
+ explicit LStoreGlobal(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") |
@@ -1606,11 +1607,10 @@ class LCheckFunction: public LTemplateInstruction<0, 1, 0> { |
}; |
-class LCheckInstanceType: public LTemplateInstruction<0, 1, 1> { |
+class LCheckInstanceType: public LTemplateInstruction<0, 1, 0> { |
public: |
- LCheckInstanceType(LOperand* value, LOperand* temp) { |
+ explicit LCheckInstanceType(LOperand* value) { |
inputs_[0] = value; |
- temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |