| Index: src/crankshaft/mips/lithium-mips.h
|
| diff --git a/src/crankshaft/mips/lithium-mips.h b/src/crankshaft/mips/lithium-mips.h
|
| index d6fd59e44330a6bb3b36f5c68452d4ba786ff1f3..ea5e79289f31d49800ecf8fda4b3108ea6fc87ae 100644
|
| --- a/src/crankshaft/mips/lithium-mips.h
|
| +++ b/src/crankshaft/mips/lithium-mips.h
|
| @@ -882,11 +882,24 @@
|
| DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32")
|
| };
|
|
|
| -class LMathExp final : public LTemplateInstruction<1, 1, 0> {
|
| - public:
|
| - explicit LMathExp(LOperand* value) { inputs_[0] = value; }
|
| -
|
| - LOperand* value() { return inputs_[0]; }
|
| +
|
| +class LMathExp final : public LTemplateInstruction<1, 1, 3> {
|
| + public:
|
| + LMathExp(LOperand* value,
|
| + LOperand* double_temp,
|
| + LOperand* temp1,
|
| + LOperand* temp2) {
|
| + inputs_[0] = value;
|
| + temps_[0] = temp1;
|
| + temps_[1] = temp2;
|
| + temps_[2] = double_temp;
|
| + ExternalReference::InitializeMathExpData();
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| + LOperand* temp1() { return temps_[0]; }
|
| + LOperand* temp2() { return temps_[1]; }
|
| + LOperand* double_temp() { return temps_[2]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp")
|
| };
|
|
|