Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1da93d6f948714c91fb55d54dee166973c3b31a0..d553fb84c2761686a317b8d2409bd71d657946b0 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4554,10 +4554,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; |
} |