Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 13c5fa51fda9e8e7d390e69a1ba2d3b64c4313cd..c430465070da9ac967a53dc441c251fef2a002fc 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3477,6 +3477,16 @@ void LCodeGen::DoDeferredRandom(LRandom* 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::DoMathLog(LUnaryMathOperation* instr) { |
ASSERT(ToDoubleRegister(instr->result()).is(xmm1)); |
TranscendentalCacheStub stub(TranscendentalCache::LOG, |