Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index b05b888ad7bc37f45688e7fa6542db39bd88de97..d51de088eff2fd8129404678992dee4cf36f20a3 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -3360,7 +3360,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. |
__ mov(eax, isolate()->factory()->undefined_value()); |
@@ -3835,7 +3835,7 @@ void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) { |
// Call runtime to perform the lookup. |
__ push(cache); |
__ push(key); |
- __ CallRuntime(Runtime::kGetFromCache, 2); |
+ __ CallRuntime(Runtime::kHiddenGetFromCache, 2); |
__ bind(&done); |
context()->Plug(eax); |
@@ -4145,8 +4145,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; |