Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 8ae13197321cf06e7f9f3c2a3e71fc8c9b6f83ad..cbe7a3972c928302ed27d67db09fbfed055b7bb8 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -759,22 +759,25 @@ class LFlooringDivByPowerOf2I V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LFlooringDivByConstI V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
+class LFlooringDivByConstI V8_FINAL : public LTemplateInstruction<1, 1, 3> { |
public: |
LFlooringDivByConstI(LOperand* dividend, |
int32_t divisor, |
LOperand* temp1, |
- LOperand* temp2) { |
+ LOperand* temp2, |
+ LOperand* temp3) { |
inputs_[0] = dividend; |
divisor_ = divisor; |
temps_[0] = temp1; |
temps_[1] = temp2; |
+ temps_[2] = temp3; |
} |
LOperand* dividend() { return inputs_[0]; } |
int32_t divisor() const { return divisor_; } |
LOperand* temp1() { return temps_[0]; } |
- LOperand* temp2() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
+ LOperand* temp3() { return temps_[2]; } |
DECLARE_CONCRETE_INSTRUCTION(FlooringDivByConstI, "flooring-div-by-const-i") |
DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv) |