| Index: src/log.cc
|
| diff --git a/src/log.cc b/src/log.cc
|
| index 9fbea14dbe33e5e007fe8e95c1d066ee5df2883b..66ada269dd2c896258086fd9dd2a594842c9aa9a 100644
|
| --- a/src/log.cc
|
| +++ b/src/log.cc
|
| @@ -1026,10 +1026,9 @@ void Logger::LogCompiledFunctions() {
|
| Handle<String> script_name(String::cast(script->name()));
|
| int line_num = GetScriptLineNumber(script, shared->start_position());
|
| if (line_num > 0) {
|
| - line_num += script->line_offset()->value() + 1;
|
| LOG(CodeCreateEvent(Logger::LAZY_COMPILE_TAG,
|
| shared->code(), *func_name,
|
| - *script_name, line_num));
|
| + *script_name, line_num + 1));
|
| } else {
|
| // Can't distinguish enum and script here, so always use Script.
|
| LOG(CodeCreateEvent(Logger::SCRIPT_TAG,
|
|
|