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

Unified Diff: vm/dart.cc

Issue 9462003: Changes to shrink the token stream representation from two words to one word. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 10 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 | « vm/compiler_stats.cc ('k') | vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/dart.cc
===================================================================
--- vm/dart.cc (revision 4719)
+++ vm/dart.cc (working copy)
@@ -21,6 +21,8 @@
namespace dart {
+DECLARE_FLAG(bool, trace_isolates);
+
Isolate* Dart::vm_isolate_ = NULL;
DebugInfo* Dart::pprof_symbol_generator_ = NULL;
@@ -84,6 +86,9 @@
// of Object::Init(..) in a regular isolate creation path.
Object::InitFromSnapshot(isolate);
const Snapshot* snapshot = Snapshot::SetupFromBuffer(snapshot_buffer);
+ if (FLAG_trace_isolates) {
+ OS::Print("Size of isolate snapshot = %ld\n", snapshot->length());
+ }
SnapshotReader reader(snapshot, isolate);
reader.ReadFullSnapshot();
}
« no previous file with comments | « vm/compiler_stats.cc ('k') | vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698