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

Unified Diff: vm/raw_object_snapshot.cc

Issue 10823269: - Improve generated sources: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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/object_test.cc ('k') | vm/snapshot_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object_snapshot.cc
===================================================================
--- vm/raw_object_snapshot.cc (revision 10270)
+++ vm/raw_object_snapshot.cc (working copy)
@@ -618,6 +618,9 @@
// Read in the literal/identifier token array.
*(reader->TokensHandle()) ^= reader->ReadObjectImpl();
token_stream.SetTokenObjects(*(reader->TokensHandle()));
+ // Rean in the private key in use by the token stream.
hausner 2012/08/10 16:13:01 Rean -> Read
Ivan Posva 2012/08/10 16:57:20 Done.
+ *(reader->StringHandle()) ^= reader->ReadObjectImpl();
+ token_stream.SetPrivateKey(*(reader->StringHandle()));
return token_stream.raw();
}
@@ -644,6 +647,8 @@
// Write out the literal/identifier token array.
writer->WriteObjectImpl(ptr()->token_objects_);
+ // Write out the private key in use by the token stream.
+ writer->WriteObjectImpl(ptr()->private_key_);
}
« no previous file with comments | « vm/object_test.cc ('k') | vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698