Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 13cdb9b1e9ea8ce355e0ea2c1ef78e8689dda514..70812796d4aab0b3e58e8c0ec7da472362898ff0 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1205,6 +1205,8 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
if (*code == info->isolate()->builtins()->builtin(Builtins::kLazyCompile)) |
return; |
int line_num = GetScriptLineNumber(script, shared->start_position()) + 1; |
+ int column_num = |
+ GetScriptColumnNumber(script, shared->start_position()) + 1; |
USE(line_num); |
if (script->name()->IsString()) { |
PROFILE(info->isolate(), |
@@ -1213,7 +1215,8 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
*shared, |
info, |
String::cast(script->name()), |
- line_num)); |
+ line_num, |
+ column_num)); |
} else { |
PROFILE(info->isolate(), |
CodeCreateEvent(Logger::ToNativeByScript(tag, *script), |
@@ -1221,7 +1224,8 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
*shared, |
info, |
info->isolate()->heap()->empty_string(), |
- line_num)); |
+ line_num, |
+ column_num)); |
} |
} |