Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 4977cac405ad492d6b90d01d4d5b9cf6035738ad..b5d435b5214ad84672d081d279286782dc824c62 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -131,6 +131,7 @@ class LCodeGen; |
V(LoadNamedField) \ |
V(LoadNamedFieldPolymorphic) \ |
V(LoadNamedGeneric) \ |
+ V(MathExp) \ |
V(MathFloorOfDiv) \ |
V(MathMinMax) \ |
V(ModI) \ |
@@ -643,6 +644,25 @@ class LUnaryMathOperation: public LTemplateInstruction<1, 1, 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 LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { |
public: |
LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |