Index: src/a64/lithium-a64.h |
diff --git a/src/a64/lithium-a64.h b/src/a64/lithium-a64.h |
index dddb0ad009e7ea50f171f40bda26faf093819aea..6ba3b471cce5c174551ac50694a101215fca60ff 100644 |
--- a/src/a64/lithium-a64.h |
+++ b/src/a64/lithium-a64.h |
@@ -2680,17 +2680,13 @@ class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 2> { |
class LTruncateDoubleToIntOrSmi V8_FINAL |
- : public LTemplateInstruction<1, 1, 2> { |
+ : public LTemplateInstruction<1, 1, 0> { |
public: |
- LTruncateDoubleToIntOrSmi(LOperand* value, LOperand* temp1, LOperand* temp2) { |
+ explicit LTruncateDoubleToIntOrSmi(LOperand* value) { |
inputs_[0] = value; |
- temps_[0] = temp1; |
- temps_[1] = temp2; |
} |
LOperand* value() { return inputs_[0]; } |
- LOperand* temp1() { return temps_[0]; } |
- LOperand* temp2() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(TruncateDoubleToIntOrSmi, |
"truncate-double-to-int-or-smi") |