| Index: src/cpu-profiler.cc
|
| diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc
|
| index 80faf102e94a03a734de24f095e1dc7efe0f857e..b5b69e4d66636cb87fae7f1f4a65f2165262d94a 100644
|
| --- a/src/cpu-profiler.cc
|
| +++ b/src/cpu-profiler.cc
|
| @@ -272,8 +272,8 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
|
| int position = static_cast<int>(it.rinfo()->data());
|
| if (position >= 0) {
|
| int pc_offset = static_cast<int>(it.rinfo()->pc() - code->address());
|
| - int line_number = script->GetLineNumber(position) + 1;
|
| - line_table->SetPosition(pc_offset, line_number);
|
| + int line_number = script->GetLineNumber(position);
|
| + line_table->SetPosition(pc_offset, line_number + 1);
|
| }
|
| }
|
| }
|
|
|