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

Unified Diff: src/log.cc

Issue 574005: Fix issue 597: builtins and stubs are missing in profiler log when using snapshots. (Closed)
Patch Set: Created 10 years, 11 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 | « src/log.h ('k') | src/v8.cc » ('j') | 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 5de7429e5d244cfc69cc128add4fa1d3901d83b3..17506de3575415b00bed44d034f5178d7dd3ad27 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -1294,6 +1294,16 @@ void Logger::LogCodeObject(Object* object) {
}
+void Logger::LogCodeObjects() {
+ AssertNoAllocation no_alloc;
+ HeapIterator iterator;
+ for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) {
+ if (!obj->IsCode()) continue;
+ LogCodeObject(obj);
Erik Corry 2010/02/04 20:52:54 Seems like if (obj->IsCode()) LogCodeObject(obj) w
mnaganov (inactive) 2010/02/04 21:33:06 Indeed. Fixed.
+ }
+}
+
+
void Logger::LogCompiledFunctions() {
HandleScope scope;
const int compiled_funcs_count = EnumerateCompiledFunctions(NULL);
« no previous file with comments | « src/log.h ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698