Chromium Code Reviews| Index: src/ia32/full-codegen-ia32.cc |
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
| index 7764ecebc678dbb0f5ee571f94dcf577c174f1a0..2409c3bfaaa1735fd2ffb2a945176336c9da0bb6 100644 |
| --- a/src/ia32/full-codegen-ia32.cc |
| +++ b/src/ia32/full-codegen-ia32.cc |
| @@ -3358,7 +3358,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()); |
| @@ -3833,7 +3833,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); |
| @@ -4143,8 +4143,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 ) { |
|
Yang
2014/03/25 13:19:59
stray white space after Runtime::INLINE.
|
| Comment cmnt(masm_, "[ InlineRuntimeCall"); |
| EmitInlineRuntimeCall(expr); |
| return; |