| Index: src/crankshaft/ia32/lithium-ia32.h
|
| diff --git a/src/crankshaft/ia32/lithium-ia32.h b/src/crankshaft/ia32/lithium-ia32.h
|
| index 894f6f0944fcb9cecc5702275455b0e11e4141d4..d1d5a06dc4484f58c2c424211759caa7bca13c2a 100644
|
| --- a/src/crankshaft/ia32/lithium-ia32.h
|
| +++ b/src/crankshaft/ia32/lithium-ia32.h
|
| @@ -912,11 +912,21 @@
|
| 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, 2> {
|
| + public:
|
| + LMathExp(LOperand* value,
|
| + LOperand* temp1,
|
| + LOperand* temp2) {
|
| + inputs_[0] = value;
|
| + temps_[0] = temp1;
|
| + temps_[1] = temp2;
|
| + ExternalReference::InitializeMathExpData();
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| + LOperand* temp1() { return temps_[0]; }
|
| + LOperand* temp2() { return temps_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp")
|
| };
|
|
|