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

Unified Diff: runtime/vm/raw_object.h

Issue 9325047: Add token index position to classes and types for more accurate error reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 3964)
+++ runtime/vm/raw_object.h (working copy)
@@ -336,6 +336,7 @@
intptr_t type_arguments_instance_field_offset_; // May be kNoTypeArguments.
intptr_t next_field_offset_; // Offset of then next instance field.
intptr_t num_native_fields_; // Number of native fields in class.
+ intptr_t token_index_;
int8_t class_state_; // Of type ClassState.
bool is_const_;
bool is_interface_;
@@ -388,6 +389,7 @@
RawObject* type_class_; // Either resolved class or unresolved class.
RawAbstractTypeArguments* arguments_;
RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->arguments_); }
+ intptr_t token_index_;
int8_t type_state_;
};
@@ -400,6 +402,7 @@
RawString* name_;
RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
intptr_t index_;
+ intptr_t token_index_;
int8_t type_state_;
};
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698