@@ -92,6 +92,7 @@ pub static tag_path_len: uint = 0x25;
9292pub static tag_path_elem_mod: uint = 0x26 ;
9393pub static tag_path_elem_name: uint = 0x27 ;
9494pub static tag_item_field: uint = 0x28 ;
95+ pub static tag_item_field_origin: uint = 0x29 ;
9596
9697pub static tag_item_variances: uint = 0x2a ;
9798/*
@@ -102,43 +103,43 @@ pub static tag_item_variances: uint = 0x2a;
102103 both, tag_item_trait_method and tag_item_impl_method have to be two
103104 different tags.
104105 */
105- pub static tag_item_impl_method: uint = 0x2c ;
106- pub static tag_item_trait_method_explicit_self: uint = 0x2d ;
106+ pub static tag_item_impl_method: uint = 0x30 ;
107+ pub static tag_item_trait_method_explicit_self: uint = 0x31 ;
107108
108109
109110// Reexports are found within module tags. Each reexport contains def_ids
110111// and names.
111- pub static tag_items_data_item_reexport: uint = 0x2f ;
112- pub static tag_items_data_item_reexport_def_id: uint = 0x30 ;
113- pub static tag_items_data_item_reexport_name: uint = 0x31 ;
112+ pub static tag_items_data_item_reexport: uint = 0x38 ;
113+ pub static tag_items_data_item_reexport_def_id: uint = 0x39 ;
114+ pub static tag_items_data_item_reexport_name: uint = 0x3a ;
114115
115116// used to encode crate_ctxt side tables
116117#[ deriving( Eq ) ]
117118#[ repr( uint) ]
118- pub enum astencode_tag { // Reserves 0x32 -- 0x45
119- tag_ast = 0x32 ,
120-
121- tag_tree = 0x33 ,
122-
123- tag_id_range = 0x34 ,
124-
125- tag_table = 0x35 ,
126- tag_table_id = 0x36 ,
127- tag_table_val = 0x37 ,
128- tag_table_def = 0x38 ,
129- tag_table_node_type = 0x39 ,
130- tag_table_node_type_subst = 0x3a ,
131- tag_table_freevars = 0x3b ,
132- tag_table_tcache = 0x3c ,
133- tag_table_param_defs = 0x3d ,
134- tag_table_mutbl = 0x3e ,
135- tag_table_last_use = 0x3f ,
136- tag_table_spill = 0x40 ,
137- tag_table_method_map = 0x41 ,
138- tag_table_vtable_map = 0x42 ,
139- tag_table_adjustments = 0x43 ,
140- tag_table_moves_map = 0x44 ,
141- tag_table_capture_map = 0x45
119+ pub enum astencode_tag { // Reserves 0x40 -- 0x5f
120+ tag_ast = 0x40 ,
121+
122+ tag_tree = 0x41 ,
123+
124+ tag_id_range = 0x42 ,
125+
126+ tag_table = 0x43 ,
127+ tag_table_id = 0x44 ,
128+ tag_table_val = 0x45 ,
129+ tag_table_def = 0x46 ,
130+ tag_table_node_type = 0x47 ,
131+ tag_table_node_type_subst = 0x48 ,
132+ tag_table_freevars = 0x49 ,
133+ tag_table_tcache = 0x4a ,
134+ tag_table_param_defs = 0x4b ,
135+ tag_table_mutbl = 0x4c ,
136+ tag_table_last_use = 0x4d ,
137+ tag_table_spill = 0x4e ,
138+ tag_table_method_map = 0x4f ,
139+ tag_table_vtable_map = 0x50 ,
140+ tag_table_adjustments = 0x51 ,
141+ tag_table_moves_map = 0x52 ,
142+ tag_table_capture_map = 0x53
142143}
143144static first_astencode_tag: uint = tag_ast as uint ;
144145static last_astencode_tag: uint = tag_table_capture_map as uint ;
@@ -151,9 +152,9 @@ impl astencode_tag {
151152 }
152153}
153154
154- pub static tag_item_trait_method_sort: uint = 0x46 ;
155+ pub static tag_item_trait_method_sort: uint = 0x60 ;
155156
156- pub static tag_item_impl_type_basename: uint = 0x47 ;
157+ pub static tag_item_impl_type_basename: uint = 0x61 ;
157158
158159// Language items are a top-level directory (for speed). Hierarchy:
159160//
@@ -162,42 +163,42 @@ pub static tag_item_impl_type_basename: uint = 0x47;
162163// - tag_lang_items_item_id: u32
163164// - tag_lang_items_item_node_id: u32
164165
165- pub static tag_lang_items: uint = 0x48 ;
166- pub static tag_lang_items_item: uint = 0x49 ;
167- pub static tag_lang_items_item_id: uint = 0x4a ;
168- pub static tag_lang_items_item_node_id: uint = 0x4b ;
166+ pub static tag_lang_items: uint = 0x70 ;
167+ pub static tag_lang_items_item: uint = 0x71 ;
168+ pub static tag_lang_items_item_id: uint = 0x72 ;
169+ pub static tag_lang_items_item_node_id: uint = 0x73 ;
169170
170- pub static tag_item_unnamed_field: uint = 0x4c ;
171- pub static tag_items_data_item_visibility: uint = 0x4e ;
171+ pub static tag_item_unnamed_field: uint = 0x74 ;
172+ pub static tag_items_data_item_visibility: uint = 0x76 ;
172173
173- pub static tag_item_method_tps: uint = 0x51 ;
174- pub static tag_item_method_fty: uint = 0x52 ;
174+ pub static tag_item_method_tps: uint = 0x79 ;
175+ pub static tag_item_method_fty: uint = 0x7a ;
175176
176- pub static tag_mod_child: uint = 0x53 ;
177- pub static tag_misc_info: uint = 0x54 ;
178- pub static tag_misc_info_crate_items: uint = 0x55 ;
177+ pub static tag_mod_child: uint = 0x7b ;
178+ pub static tag_misc_info: uint = 0x7c ;
179+ pub static tag_misc_info_crate_items: uint = 0x7d ;
179180
180- pub static tag_item_method_provided_source: uint = 0x56 ;
181- pub static tag_item_impl_vtables: uint = 0x57 ;
181+ pub static tag_item_method_provided_source: uint = 0x7e ;
182+ pub static tag_item_impl_vtables: uint = 0x7f ;
182183
183- pub static tag_impls: uint = 0x58 ;
184- pub static tag_impls_impl: uint = 0x59 ;
184+ pub static tag_impls: uint = 0x80 ;
185+ pub static tag_impls_impl: uint = 0x81 ;
185186
186- pub static tag_items_data_item_inherent_impl: uint = 0x5a ;
187- pub static tag_items_data_item_extension_impl: uint = 0x5b ;
187+ pub static tag_items_data_item_inherent_impl: uint = 0x82 ;
188+ pub static tag_items_data_item_extension_impl: uint = 0x83 ;
188189
189- pub static tag_region_param_def: uint = 0x5c ;
190- pub static tag_region_param_def_ident: uint = 0x5d ;
191- pub static tag_region_param_def_def_id: uint = 0x5e ;
190+ pub static tag_region_param_def: uint = 0x84 ;
191+ pub static tag_region_param_def_ident: uint = 0x85 ;
192+ pub static tag_region_param_def_def_id: uint = 0x86 ;
192193
193- pub static tag_native_libraries: uint = 0x5f ;
194- pub static tag_native_libraries_lib: uint = 0x60 ;
195- pub static tag_native_libraries_name: uint = 0x61 ;
196- pub static tag_native_libraries_kind: uint = 0x62 ;
194+ pub static tag_native_libraries: uint = 0x87 ;
195+ pub static tag_native_libraries_lib: uint = 0x88 ;
196+ pub static tag_native_libraries_name: uint = 0x89 ;
197+ pub static tag_native_libraries_kind: uint = 0x8a ;
197198
198- pub static tag_macro_registrar_fn: uint = 0x63 ;
199- pub static tag_exported_macros: uint = 0x64 ;
200- pub static tag_macro_def: uint = 0x65 ;
199+ pub static tag_macro_registrar_fn: uint = 0x8b ;
200+ pub static tag_exported_macros: uint = 0x8c ;
201+ pub static tag_macro_def: uint = 0x8d ;
201202
202203#[ deriving( Clone , Show ) ]
203204pub struct LinkMeta {
0 commit comments