Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index f6d3ea36ab8ce6e0ce21759ce369e8be34db2666..e058a7a13c2c52e85eb4662c92bde492d23c8829 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3698,13 +3698,11 @@ void FullCodeGenerator::EmitStringCompare(CallRuntime* expr) { |
void FullCodeGenerator::EmitMathLog(CallRuntime* expr) { |
- // Load the argument on the stack and call the stub. |
- TranscendentalCacheStub stub(TranscendentalCache::LOG, |
- TranscendentalCacheStub::TAGGED); |
+ // Load the argument on the stack and call the runtime function. |
ZoneList<Expression*>* args = expr->arguments(); |
ASSERT(args->length() == 1); |
VisitForStackValue(args->at(0)); |
- __ CallStub(&stub); |
+ __ CallRuntime(Runtime::kMath_log, 1); |
context()->Plug(r0); |
} |