| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index b2ff1fd97d6630d1ba0f08a322a71bd403e92e31..8f20108b1068f8eeb3abac7419c0f207a0122d23 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -207,7 +207,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| Label check_exit_codesize;
|
| masm_->bind(&check_exit_codesize);
|
| #endif
|
| - CodeGenerator::RecordPositions(masm_, function()->end_position());
|
| + CodeGenerator::RecordPositions(masm_, function()->end_position() - 1);
|
| __ RecordJSReturn();
|
| // Do not use the leave instruction here because it is too short to
|
| // patch with the code required by the debugger.
|
|
|