Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 319579165410dcd5c2e6f8379a26f4e0a30e1de1..99067a9e02f952aeef03b9647053ba31cefd2f27 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") |
@@ -1602,11 +1603,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") |