Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index e4cd3b3b9dcb0b2059c68cf410cd10237d622790..715c3f175285e638bde500592a17bd9ae8433077 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -1353,6 +1353,7 @@ class RawLocalVarDescriptors : public RawObject { |
struct VarInfo { |
int32_t index_kind; // Bitfield for slot index on stack or in context, |
// and Entry kind of type VarInfoKind. |
+ TokenPosition declaration_pos; // Token position of declaration. |
TokenPosition begin_pos; // Token position of scope start. |
TokenPosition end_pos; // Token position of scope end. |
int16_t scope_id; // Scope to which the variable belongs. |
@@ -1455,6 +1456,7 @@ class RawContextScope : public RawObject { |
// TODO(iposva): Switch to conventional enum offset based structure to avoid |
// alignment mishaps. |
struct VariableDesc { |
+ RawSmi* declaration_token_pos; |
RawSmi* token_pos; |
RawString* name; |
RawBool* is_final; |