Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index bec04634ef449c41deb7426ce2a166480ab41b97..bccba5ebc7a8a0d48fff2b00204599307ff27a27 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -611,15 +611,17 @@ class LModI: public LTemplateInstruction<1, 2, 3> { |
}; |
-class LDivI: public LTemplateInstruction<1, 2, 0> { |
+class LDivI: public LTemplateInstruction<1, 2, 1> { |
public: |
- LDivI(LOperand* left, LOperand* right) { |
+ LDivI(LOperand* left, LOperand* right, LOperand* temp) { |
inputs_[0] = left; |
inputs_[1] = right; |
+ temps_[0] = temp; |
} |
LOperand* left() { return inputs_[0]; } |
LOperand* right() { return inputs_[1]; } |
+ LOperand* temp() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i") |
DECLARE_HYDROGEN_ACCESSOR(Div) |