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

Unified Diff: runtime/vm/raw_object.h

Issue 624103003: Make deserialization more regular as prep for deferring canonicalization for types/instances. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | runtime/vm/raw_object_snapshot.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 6667b814116a2d8213adc39cc4f83ff2a4d8a4e0..a23585ef441c9c32f47dac9dbcb0cbb1207e8d8f 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -793,9 +793,12 @@ class RawScript : public RawObject {
RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->url_); }
RawString* url_;
- RawString* source_;
RawTokenStream* tokens_;
- RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->tokens_); }
+ RawObject** to_snapshot() {
+ return reinterpret_cast<RawObject**>(&ptr()->tokens_);
+ }
+ RawString* source_;
+ RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->source_); }
int32_t line_offset_;
int32_t col_offset_;
« no previous file with comments | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | runtime/vm/raw_object_snapshot.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698