Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index e0230e0fe672807d685d9366945120ed563701d0..20555de3687945f9c95e264ced1900e5333aaa93 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -2947,6 +2947,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) { |
VisitForStackValue(args->at(i)); |
} |
+ PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
// Record source position of the IC call. |
SetCallPosition(expr, arg_count); |
Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code(); |
@@ -3913,6 +3914,7 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
for (Expression* const arg : *args) { |
VisitForStackValue(arg); |
} |
+ PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
// Move target to a1. |
int const argc = args->length() - 2; |
__ lw(a1, MemOperand(sp, (argc + 1) * kPointerSize)); |
@@ -3936,6 +3938,7 @@ void FullCodeGenerator::EmitCallFunction(CallRuntime* expr) { |
} |
VisitForAccumulatorValue(args->last()); // Function. |
+ PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
Label runtime, done; |
// Check for non-function argument (including proxy). |
__ JumpIfSmi(v0, &runtime); |