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

Unified Diff: dart/runtime/vm/raw_object.h

Issue 75123002: Version 1.0.0.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/runtime/vm/parser.cc ('k') | dart/runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/vm/raw_object.h
===================================================================
--- dart/runtime/vm/raw_object.h (revision 30333)
+++ dart/runtime/vm/raw_object.h (working copy)
@@ -1092,12 +1092,17 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(LanguageError);
RawObject** from() {
- return reinterpret_cast<RawObject**>(&ptr()->message_);
+ return reinterpret_cast<RawObject**>(&ptr()->previous_error_);
}
+ RawError* previous_error_; // May be null.
+ RawScript* script_;
RawString* message_;
+ RawString* formatted_message_; // Incl. previous error's formatted message.
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->message_);
+ return reinterpret_cast<RawObject**>(&ptr()->formatted_message_);
}
+ intptr_t token_pos_; // Source position in script_.
+ int8_t kind_; // Of type LanguageError::Kind.
};
« no previous file with comments | « dart/runtime/vm/parser.cc ('k') | dart/runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698