| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index c27c841e4ea0d3a68b48af9ba162c409833dcc75..2067c62d1bd7c49cbaefbfa133ee367ad49f78e0 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -125,6 +125,7 @@ class LCodeGen;
|
| V(LoadNamedFieldPolymorphic) \
|
| V(LoadNamedGeneric) \
|
| V(MapEnumLength) \
|
| + V(MathExp) \
|
| V(MathFloorOfDiv) \
|
| V(MathMinMax) \
|
| V(MathPowHalf) \
|
| @@ -639,6 +640,27 @@ class LUnaryMathOperation: public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| +class LMathExp: 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")
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +};
|
| +
|
| +
|
| class LMathPowHalf: public LTemplateInstruction<1, 2, 1> {
|
| public:
|
| LMathPowHalf(LOperand* context, LOperand* value, LOperand* temp) {
|
|
|