Chromium Code Reviews

Unified Diff: src/log.cc

Issue 7056012: ll_prof: Add function optimization status markers. (Closed)
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index 1db66fd96d82264074c3f9cc4cb5339f5af4f5d5..512a231abf2ec3918dd512dd0f62186bac87dac7 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -1005,6 +1005,7 @@ void Logger::CodeCreateEvent(LogEventsAndTags tag,
name_buffer_->Reset();
name_buffer_->AppendBytes(kLogEventsNames[tag]);
name_buffer_->AppendByte(':');
+ name_buffer_->AppendBytes(ComputeMarker(code));
name_buffer_->AppendString(name);
}
if (FLAG_ll_prof) {
@@ -1047,6 +1048,7 @@ void Logger::CodeCreateEvent(LogEventsAndTags tag,
name_buffer_->Reset();
name_buffer_->AppendBytes(kLogEventsNames[tag]);
name_buffer_->AppendByte(':');
+ name_buffer_->AppendBytes(ComputeMarker(code));
name_buffer_->AppendString(shared->DebugName());
name_buffer_->AppendByte(' ');
name_buffer_->AppendString(source);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine