Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index a382dad315b48c6069b42e3a09127ac603d6a17a..c5351a4bc7fc8b92461408b624f242e92ea7ba13 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -2798,6 +2798,8 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
// edx (receiver). Touch up the stack with the right values. |
__ mov(Operand(esp, (arg_count + 0) * kPointerSize), edx); |
__ mov(Operand(esp, (arg_count + 1) * kPointerSize), eax); |
+ |
+ PrepareForBailoutForId(expr->EvalOrLookupId(), NO_REGISTERS); |
} |
// Record source position for debugger. |
SetSourcePosition(expr->position()); |
@@ -2829,6 +2831,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
__ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ push(eax); // Function. |
__ push(edx); // Receiver. |
+ PrepareForBailoutForId(expr->EvalOrLookupId(), NO_REGISTERS); |
// If fast case code has been generated, emit code to push the function |
// and receiver and have the slow path jump around this code. |