Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 4f24392062b6e04941c423e87c4328e59ef0fb46..5d712b42add6ed728788a864180a25d58ca1fae2 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -695,15 +695,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) |