Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: src/log.h

Issue 16917008: CPUProfiler: remove copy&paste from CodeCreateEvent. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 531f1de0bd3b3614d52bd1295e1771ec806d6924..faf6df1804a1106e6d7aa55a3544f6e72d6270b8 100644
--- a/src/log.h
+++ b/src/log.h
@@ -413,6 +413,15 @@ class Logger {
// Used for logging stubs found in the snapshot.
void LogCodeObject(Object* code_object);
+ // Helper method. It resets name_buffer_ and add tag name into it.
+ void InitNameBuffer(LogEventsAndTags tag);
+
+ // Helper method. It push recorded buffer into different handlers.
+ void LogRecordedBuffer(Code*, SharedFunctionInfo*);
+
+ // Helper method. It dumps name into name_buffer_.
+ void AppendName(Name* name);
+
// Emits general information about generated code.
void LogCodeInfo();
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698