| 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..2e16ef97bdc0d81d5a3291a7347cca4b05bd5207 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::kLogInternal, 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::kGetFromCacheInternal, 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 ) {
|
| Comment cmnt(masm_, "[ InlineRuntimeCall");
|
| EmitInlineRuntimeCall(expr);
|
| return;
|
|
|