Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 05076047ef17b8c6cddc2ea88ca8ebf91e121664..a59ac17dd014f603316333ff28eef5b506f3892f 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -2785,6 +2785,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()); |
@@ -2816,6 +2818,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. |