| Index: src/x87/lithium-x87.h
|
| diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h
|
| index cf0e7b2d92c0ef9f3886e08754ea3274bfb4a4ca..dbb18ecabb78e9c1c6550cdeca3b40c1bf167444 100644
|
| --- a/src/x87/lithium-x87.h
|
| +++ b/src/x87/lithium-x87.h
|
| @@ -973,13 +973,19 @@ class LMathExp FINAL : public LTemplateInstruction<1, 1, 2> {
|
| };
|
|
|
|
|
| -class LMathSqrt FINAL : public LTemplateInstruction<1, 1, 0> {
|
| +class LMathSqrt FINAL : public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| - explicit LMathSqrt(LOperand* value) {
|
| + explicit LMathSqrt(LOperand* value,
|
| + LOperand* temp1,
|
| + LOperand* temp2) {
|
| 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(MathSqrt, "math-sqrt")
|
| };
|
|
|