Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 82a8d9c73d0e99a7a3979322354dc120387bd3f9..1d71d5824ae35eea4143ad315e035d1b0d686815 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -2950,6 +2950,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(); |
@@ -3916,6 +3917,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; |
__ ld(a1, MemOperand(sp, (argc + 1) * kPointerSize)); |
@@ -3939,6 +3941,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); |