Chromium Code Reviews| Index: src/full-codegen.cc |
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
| index 8a8b39be7ccb4cd77e511028a9d75b87ed740a49..aaf2f992c94a33bbe376be7de197851f584ac39f 100644 |
| --- a/src/full-codegen.cc |
| +++ b/src/full-codegen.cc |
| @@ -770,7 +770,7 @@ void FullCodeGenerator::SetFunctionPosition(FunctionLiteral* fun) { |
| void FullCodeGenerator::SetReturnPosition(FunctionLiteral* fun) { |
| if (FLAG_debug_info) { |
| - CodeGenerator::RecordPositions(masm_, fun->end_position()); |
| + CodeGenerator::RecordPositions(masm_, fun->end_position() - 1); |
|
Peter Rybin
2010/07/28 13:00:14
Theoretically, you may consider creating a named c
|
| } |
| } |