Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 18ff8e41f763cd19c05b40b866da1e97d5552dfd..a4155bc15ca96d1da32debbc9d50403c0a1b4017 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3424,7 +3424,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. |
@@ -3912,7 +3912,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(v0); |
@@ -4193,8 +4193,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; |