Index: src/mips64/lithium-mips64.h |
diff --git a/src/mips64/lithium-mips64.h b/src/mips64/lithium-mips64.h |
index f58f0da22d4e6f3b03b312123bf14baabddab9da..37f8efa5e280ecc0100e405d183be169c11f71cd 100644 |
--- a/src/mips64/lithium-mips64.h |
+++ b/src/mips64/lithium-mips64.h |
@@ -689,15 +689,17 @@ class LDivByConstI V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
public: |
- LDivI(LOperand* dividend, LOperand* divisor) { |
+ LDivI(LOperand* dividend, LOperand* divisor, LOperand* temp) { |
inputs_[0] = dividend; |
inputs_[1] = divisor; |
+ temps_[0] = temp; |
} |
LOperand* dividend() { return inputs_[0]; } |
LOperand* divisor() { return inputs_[1]; } |
+ LOperand* temp() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i") |
DECLARE_HYDROGEN_ACCESSOR(BinaryOperation) |