Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 95f7fae00761132a8e1394864c23cd624f2ab949..11355bbe7b8fa28cc8c1f186d3a4110bed336522 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -4295,10 +4295,10 @@ void FullCodeGenerator::EmitDebugIsActive(CallRuntime* expr) { |
void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { |
- if (expr->function() != NULL && |
- expr->function()->intrinsic_type == Runtime::INLINE) { |
+ InlineFunctionGenerator generator = FindInlineFunctionGenerator(expr); |
+ if (generator != nullptr) { |
Comment cmnt(masm_, "[ InlineRuntimeCall"); |
- EmitInlineRuntimeCall(expr); |
+ EmitInlineRuntimeCall(expr, generator); |
return; |
} |