| Index: src/ia32/lithium-ia32.h
|
| ===================================================================
|
| --- src/ia32/lithium-ia32.h (revision 5940)
|
| +++ src/ia32/lithium-ia32.h (working copy)
|
| @@ -67,6 +67,7 @@
|
| // LLoadKeyedGeneric
|
| // LModI
|
| // LMulI
|
| +// LPower
|
| // LShiftI
|
| // LSubI
|
| // LCallConstantFunction
|
| @@ -140,7 +141,7 @@
|
| // LTypeofIsAndBranch
|
| // LUnaryMathOperation
|
| // LValueOf
|
| -// LUnknownOSRValue
|
| +// LUnknownOSRValue
|
|
|
| #define LITHIUM_ALL_INSTRUCTION_LIST(V) \
|
| V(BinaryOperation) \
|
| @@ -229,6 +230,7 @@
|
| V(ObjectLiteral) \
|
| V(OsrEntry) \
|
| V(Parameter) \
|
| + V(Power) \
|
| V(PushArgument) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| @@ -1154,6 +1156,19 @@
|
| };
|
|
|
|
|
| +class LPower: public LBinaryOperation {
|
| + public:
|
| + LPower(LOperand* left, LOperand* right, Representation exponent_type)
|
| + : LBinaryOperation(left, right), exponent_type_(exponent_type) { }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(Power, "power")
|
| + Representation exponent_type() { return exponent_type_; }
|
| +
|
| + private:
|
| + Representation exponent_type_;
|
| +};
|
| +
|
| +
|
| class LArithmeticD: public LBinaryOperation {
|
| public:
|
| LArithmeticD(Token::Value op, LOperand* left, LOperand* right)
|
|
|