Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 3e19c39ba24de278a78f128739f899402e46735a..388d4969dd67ea085861780be1e2f346e2872353 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3609,6 +3609,16 @@ void LCodeGen::DoMathLog(LUnaryMathOperation* instr) { |
} |
+void LCodeGen::DoMathExp(LMathExp* instr) { |
+ XMMRegister input = ToDoubleRegister(instr->value()); |
+ XMMRegister result = ToDoubleRegister(instr->result()); |
+ Register temp1 = ToRegister(instr->temp1()); |
+ Register temp2 = ToRegister(instr->temp2()); |
+ |
+ MathExpGenerator::EmitMathExp(masm(), input, result, xmm0, temp1, temp2); |
+} |
+ |
+ |
void LCodeGen::DoMathTan(LUnaryMathOperation* instr) { |
ASSERT(ToDoubleRegister(instr->result()).is(xmm1)); |
TranscendentalCacheStub stub(TranscendentalCache::TAN, |