Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index e2753a8bb3ef54513d3469f2bf69ae78e589a1c6..8b0a7153572ae08d8a70eacef066394f7736f078 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3404,7 +3404,7 @@ void FullCodeGenerator::EmitLog(CallRuntime* expr) { |
if (CodeGenerator::ShouldGenerateLog(isolate(), args->at(0))) { |
VisitForStackValue(args->at(1)); |
VisitForStackValue(args->at(2)); |
- __ CallRuntime(Runtime::kLog, 2); |
+ __ CallRuntime(Runtime::kHiddenLog, 2); |
} |
// Finally, we're expected to leave a value on the top of the stack. |
@@ -3867,7 +3867,7 @@ void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) { |
__ bind(¬_found); |
// Call runtime to perform the lookup. |
__ Push(cache, key); |
- __ CallRuntime(Runtime::kGetFromCache, 2); |
+ __ CallRuntime(Runtime::kHiddenGetFromCache, 2); |
__ bind(&done); |
context()->Plug(r0); |
@@ -4144,8 +4144,8 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) { |
void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
- Handle<String> name = expr->name(); |
- if (name->length() > 0 && name->Get(0) == '_') { |
+ if (expr->function() != NULL && |
+ expr->function()->intrinsic_type == Runtime::INLINE) { |
Comment cmnt(masm_, "[ InlineRuntimeCall"); |
EmitInlineRuntimeCall(expr); |
return; |