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

Unified Diff: runtime/vm/dart.cc

Issue 14631014: Remove print_bootstrap flag as it is not needed anymore considering that we (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « runtime/vm/bootstrap_nocorelib.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
===================================================================
--- runtime/vm/dart.cc (revision 22520)
+++ runtime/vm/dart.cc (working copy)
@@ -27,7 +27,6 @@
DEFINE_FLAG(bool, heap_profile_initialize, false,
"Writes a heap profile on isolate initialization.");
-DECLARE_FLAG(bool, print_bootstrap);
DECLARE_FLAG(bool, print_class_table);
DECLARE_FLAG(bool, trace_isolates);
@@ -146,32 +145,6 @@
}
-static void PrintLibrarySources(Isolate* isolate) {
- const GrowableObjectArray& libs = GrowableObjectArray::Handle(
- isolate->object_store()->libraries());
- intptr_t lib_count = libs.Length();
- Library& lib = Library::Handle();
- Array& scripts = Array::Handle();
- Script& script = Script::Handle();
- String& url = String::Handle();
- String& source = String::Handle();
- for (int i = 0; i < lib_count; i++) {
- lib ^= libs.At(i);
- url = lib.url();
- OS::Print("Library %s:\n", url.ToCString());
- scripts = lib.LoadedScripts();
- intptr_t script_count = scripts.Length();
- for (intptr_t i = 0; i < script_count; i++) {
- script ^= scripts.At(i);
- url = script.url();
- source = script.Source();
- OS::Print("Source for %s:\n", url.ToCString());
- OS::Print("%s\n", source.ToCString());
- }
- }
-}
-
-
RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
// Initialize the new isolate.
TIMERSCOPE(time_isolate_initialization);
@@ -205,9 +178,6 @@
isolate->heap()->PrintSizes();
isolate->megamorphic_cache_table()->PrintSizes();
}
- if (FLAG_print_bootstrap) {
- PrintLibrarySources(isolate);
- }
}
if (FLAG_heap_profile_initialize) {
« no previous file with comments | « runtime/vm/bootstrap_nocorelib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698