| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index 44bd992f7ddda91439910f61215674cb6713517c..80b228e0a6521bff5f093dedf7a96efcf07e8a6a 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -730,13 +730,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)
|
|
|