ll_prof: Add function optimization status markers.
Review URL: http://codereview.chromium.org/7056012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7970 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
dd2c990178
commit
36195e73a7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user