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

Unified Diff: vm/snapshot.h

Issue 10697055: Represent tokens as a compressed stream instead of an array. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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/raw_object_snapshot.cc ('k') | vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/snapshot.h
===================================================================
--- vm/snapshot.h (revision 9536)
+++ vm/snapshot.h (working copy)
@@ -21,6 +21,7 @@
class AbstractTypeArguments;
class Array;
class Class;
+class GrowableObjectArray;
class Heap;
class Library;
class Object;
@@ -174,6 +175,7 @@
String* StringHandle() { return &str_; }
AbstractType* TypeHandle() { return &type_; }
AbstractTypeArguments* TypeArgumentsHandle() { return &type_arguments_; }
+ Array* TokensHandle() { return &tokens_; }
// Reads an object.
RawObject* ReadObject();
@@ -257,6 +259,7 @@
Library& library_; // Temporary library handle.
AbstractType& type_; // Temporary type handle.
AbstractTypeArguments& type_arguments_; // Temporary type argument handle.
+ Array& tokens_; // Temporary tokens handle.
GrowableArray<BackRefNode*> backward_references_;
friend class Array;
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698