Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 71f71cdafe0acbc75282521110f8982a32b6f072..9a0466da1e1aed37bdef3e2dc2ce05fe43eab414 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -4613,10 +4613,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; |
} |