| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index b18d3711a3934083bc73e3eea014169ed9a00f8a..3dece9cb134e71ed7dffbf3f05077b23d9de9a28 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -2841,6 +2841,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) {
|
| VisitForStackValue(args->at(i));
|
| }
|
|
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| SetCallPosition(expr, arg_count);
|
| Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code();
|
| __ Move(edx, Immediate(SmiFromSlot(expr->CallFeedbackICSlot())));
|
| @@ -3790,6 +3791,7 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) {
|
| for (Expression* const arg : *args) {
|
| VisitForStackValue(arg);
|
| }
|
| + PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| // Move target to edi.
|
| int const argc = args->length() - 2;
|
| __ mov(edi, Operand(esp, (argc + 1) * kPointerSize));
|
| @@ -3813,6 +3815,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(eax, &runtime);
|
|
|