@@ -37,12 +37,6 @@ pub fn get_symbol(cstore: &cstore::CStore, def: ast::DefId) -> ~str {
37
37
return decoder:: get_symbol ( cdata, def. node ) ;
38
38
}
39
39
40
- pub fn get_type_param_count ( cstore : & cstore:: CStore , def : ast:: DefId )
41
- -> uint {
42
- let cdata = cstore. get_crate_data ( def. krate ) . data ( ) ;
43
- return decoder:: get_type_param_count ( cdata, def. node ) ;
44
- }
45
-
46
40
/// Iterates over all the language items in the given crate.
47
41
pub fn each_lang_item ( cstore : & cstore:: CStore ,
48
42
cnum : ast:: CrateNum ,
@@ -244,21 +238,6 @@ pub fn get_impl_vtables(tcx: &ty::ctxt,
244
238
decoder:: get_impl_vtables ( cdata, def. node , tcx)
245
239
}
246
240
247
- pub fn get_impl_method ( cstore : & cstore:: CStore ,
248
- def : ast:: DefId ,
249
- mname : ast:: Ident )
250
- -> Option < ast:: DefId > {
251
- let cdata = cstore. get_crate_data ( def. krate ) ;
252
- decoder:: get_impl_method ( cstore. intr . clone ( ) , cdata, def. node , mname)
253
- }
254
-
255
- pub fn get_item_visibility ( cstore : & cstore:: CStore ,
256
- def_id : ast:: DefId )
257
- -> ast:: Visibility {
258
- let cdata = cstore. get_crate_data ( def_id. krate ) ;
259
- decoder:: get_item_visibility ( cdata, def_id. node )
260
- }
261
-
262
241
pub fn get_native_libraries ( cstore : & cstore:: CStore ,
263
242
crate_num : ast:: CrateNum )
264
243
-> Vec < ( cstore:: NativeLibaryKind , ~str ) > {
0 commit comments