| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 272e1c7e232085e9554e342d266406d261335166..e2ca6f76be77a6890e29017fb927837ef325fb93 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -3137,7 +3137,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.
|
| @@ -3598,7 +3598,7 @@ void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) {
|
|
|
| // Call runtime to perform the lookup.
|
| __ Push(cache, key);
|
| - __ CallRuntime(Runtime::kGetFromCache, 2);
|
| + __ CallRuntime(Runtime::kGetFromCacheInternal, 2);
|
|
|
| __ Bind(&done);
|
| context()->Plug(x0);
|
| @@ -3856,8 +3856,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;
|
| @@ -3874,6 +3874,7 @@ void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
|
| __ Push(x0);
|
|
|
| // Load the function from the receiver.
|
| + Handle<String> name = expr->name();
|
| __ Mov(x2, Operand(name));
|
| CallLoadIC(NOT_CONTEXTUAL, expr->CallRuntimeFeedbackId());
|
|
|
|
|