File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub use self::CalleeData::*;
19
19
pub use self :: CallArgs :: * ;
20
20
21
21
use arena:: TypedArena ;
22
- use back:: link ;
22
+ use back:: symbol_names ;
23
23
use llvm:: { self , ValueRef , get_params} ;
24
24
use middle:: cstore:: LOCAL_CRATE ;
25
25
use middle:: def:: Def ;
@@ -320,8 +320,10 @@ pub fn trans_fn_pointer_shim<'a, 'tcx>(
320
320
debug ! ( "tuple_fn_ty: {:?}" , tuple_fn_ty) ;
321
321
322
322
//
323
- let function_name = link:: mangle_internal_name_by_type_and_seq ( ccx, bare_fn_ty,
324
- "fn_pointer_shim" ) ;
323
+ let function_name = symbol_names:: internal_name_from_type_and_suffix ( ccx,
324
+ bare_fn_ty_maybe_ref,
325
+ "fn_pointer_shim" ) ;
326
+
325
327
let llfn = declare:: declare_internal_rust_fn ( ccx, & function_name[ ..] , tuple_fn_ty) ;
326
328
327
329
//
You can’t perform that action at this time.
0 commit comments