Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 57338f16d5557cca4f7d8fe08fd6d29bca805b1e..bd625aa56046207fa6a9289686fc81cb3c682ca4 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -135,6 +135,7 @@ class LCodeGen; |
V(OuterContext) \ |
V(Parameter) \ |
V(PixelArrayLength) \ |
+ V(Power) \ |
V(PushArgument) \ |
V(RegExpLiteral) \ |
V(Return) \ |
@@ -1058,6 +1059,18 @@ class LAddI: public LTemplateInstruction<1, 2, 0> { |
}; |
+class LPower: public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LPower(LOperand* left, LOperand* right) { |
+ inputs_[0] = left; |
+ inputs_[1] = right; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(Power, "power") |
+ DECLARE_HYDROGEN_ACCESSOR(Power) |
+}; |
+ |
+ |
class LArithmeticD: public LTemplateInstruction<1, 2, 0> { |
public: |
LArithmeticD(Token::Value op, LOperand* left, LOperand* right) |