| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index e8760723b9f135b3d224c30ab19a2ded45a0b8b4..8ae13197321cf06e7f9f3c2a3e71fc8c9b6f83ad 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -835,13 +835,15 @@ class LMathFloor V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| };
|
|
|
|
|
| -class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathRound V8_FINAL : public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| - explicit LMathRound(LOperand* value) {
|
| + explicit LMathRound(LOperand* value, LOperand* temp) {
|
| inputs_[0] = value;
|
| + temps_[0] = temp;
|
| }
|
|
|
| LOperand* value() { return inputs_[0]; }
|
| + LOperand* temp() { return temps_[0]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-round")
|
| DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation)
|
|
|