@@ -92,6 +92,7 @@ pub static tag_path_len: uint = 0x25;
92
92
pub static tag_path_elem_mod: uint = 0x26 ;
93
93
pub static tag_path_elem_name: uint = 0x27 ;
94
94
pub static tag_item_field: uint = 0x28 ;
95
+ pub static tag_item_field_origin: uint = 0x29 ;
95
96
96
97
pub static tag_item_variances: uint = 0x2a ;
97
98
/*
@@ -102,43 +103,43 @@ pub static tag_item_variances: uint = 0x2a;
102
103
both, tag_item_trait_method and tag_item_impl_method have to be two
103
104
different tags.
104
105
*/
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 ;
107
108
108
109
109
110
// Reexports are found within module tags. Each reexport contains def_ids
110
111
// 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 ;
114
115
115
116
// used to encode crate_ctxt side tables
116
117
#[ deriving( Eq ) ]
117
118
#[ 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
142
143
}
143
144
static first_astencode_tag: uint = tag_ast as uint ;
144
145
static last_astencode_tag: uint = tag_table_capture_map as uint ;
@@ -151,9 +152,9 @@ impl astencode_tag {
151
152
}
152
153
}
153
154
154
- pub static tag_item_trait_method_sort: uint = 0x46 ;
155
+ pub static tag_item_trait_method_sort: uint = 0x60 ;
155
156
156
- pub static tag_item_impl_type_basename: uint = 0x47 ;
157
+ pub static tag_item_impl_type_basename: uint = 0x61 ;
157
158
158
159
// Language items are a top-level directory (for speed). Hierarchy:
159
160
//
@@ -162,42 +163,42 @@ pub static tag_item_impl_type_basename: uint = 0x47;
162
163
// - tag_lang_items_item_id: u32
163
164
// - tag_lang_items_item_node_id: u32
164
165
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 ;
169
170
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 ;
172
173
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 ;
175
176
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 ;
179
180
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 ;
182
183
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 ;
185
186
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 ;
188
189
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 ;
192
193
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 ;
197
198
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 ;
201
202
202
203
#[ deriving( Clone , Show ) ]
203
204
pub struct LinkMeta {
0 commit comments