| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index 62d6037b397681342f9c4d1d173ea129860a14b3..5af4cc1d3bed5acf9ab01ddac3edaf4e04e55724 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -2848,6 +2848,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())));
|
| @@ -3797,6 +3798,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));
|
| @@ -3820,6 +3822,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);
|
|
|