Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 5911) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -2617,6 +2617,15 @@ |
} |
+void FullCodeGenerator::EmitMathLog(ZoneList<Expression*>* args) { |
+ // Load the argument on the stack and call the runtime function. |
+ ASSERT(args->length() == 1); |
+ VisitForStackValue(args->at(0)); |
+ __ CallRuntime(Runtime::kMath_log, 1); |
+ context()->Plug(r0); |
+} |
+ |
+ |
void FullCodeGenerator::EmitCallFunction(ZoneList<Expression*>* args) { |
ASSERT(args->length() >= 2); |