Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 78161fb019cc5d3c98b08e43952e9254466f7514..477222ebeee8eee13bec7dfaaf587e4cdfb78f22 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -4605,10 +4605,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; |
} |