Index: src/x64/full-codegen-x64.cc |
=================================================================== |
--- src/x64/full-codegen-x64.cc (revision 5911) |
+++ src/x64/full-codegen-x64.cc (working copy) |
@@ -2623,6 +2623,16 @@ |
} |
+void FullCodeGenerator::EmitMathLog(ZoneList<Expression*>* args) { |
+ // Load the argument on the stack and call the stub. |
+ TranscendentalCacheStub stub(TranscendentalCache::LOG); |
+ ASSERT(args->length() == 1); |
+ VisitForStackValue(args->at(0)); |
+ __ CallStub(&stub); |
+ context()->Plug(rax); |
+} |
+ |
+ |
void FullCodeGenerator::EmitMathSqrt(ZoneList<Expression*>* args) { |
// Load the argument on the stack and call the runtime function. |
ASSERT(args->length() == 1); |