Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index e52d0f3969f4d0b0dc15d451cc1f2a08ab5984a2..00fa4326868494d8a68b4663f83b0b6d41e86601 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1016,6 +1016,7 @@ static const char* ComputeMarker(Code* code) { |
void Logger::CodeCreateEvent(LogEventsAndTags tag, |
Code* code, |
SharedFunctionInfo* shared, |
+ CompilationInfo* info, |
Name* name) { |
if (!is_logging_code_events()) return; |
if (FLAG_ll_prof || Serializer::enabled() || code_event_handler_ != NULL) { |
@@ -1093,6 +1094,7 @@ void Logger::CodeCreateEvent(LogEventsAndTags tag, |
void Logger::CodeCreateEvent(LogEventsAndTags tag, |
Code* code, |
SharedFunctionInfo* shared, |
+ CompilationInfo* info, |
Name* source, int line) { |
if (!is_logging_code_events()) return; |
if (FLAG_ll_prof || Serializer::enabled() || code_event_handler_ != NULL) { |
@@ -1735,20 +1737,20 @@ void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, |
PROFILE(isolate_, |
CodeCreateEvent( |
Logger::ToNativeByScript(Logger::LAZY_COMPILE_TAG, *script), |
- *code, *shared, |
+ *code, *shared, NULL, |
*script_name, line_num + 1)); |
} else { |
// Can't distinguish eval and script here, so always use Script. |
PROFILE(isolate_, |
CodeCreateEvent( |
Logger::ToNativeByScript(Logger::SCRIPT_TAG, *script), |
- *code, *shared, *script_name)); |
+ *code, *shared, NULL, *script_name)); |
} |
} else { |
PROFILE(isolate_, |
CodeCreateEvent( |
Logger::ToNativeByScript(Logger::LAZY_COMPILE_TAG, *script), |
- *code, *shared, *func_name)); |
+ *code, *shared, NULL, *func_name)); |
} |
} else if (shared->IsApiFunction()) { |
// API function. |
@@ -1763,7 +1765,7 @@ void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, |
} else { |
PROFILE(isolate_, |
CodeCreateEvent( |
- Logger::LAZY_COMPILE_TAG, *code, *shared, *func_name)); |
+ Logger::LAZY_COMPILE_TAG, *code, *shared, NULL, *func_name)); |
} |
} |