@@ -5,8 +5,8 @@ use rustc_codegen_ssa::traits::BuilderMethods;
55
66use crate :: { builder:: Builder , context:: CodegenCx } ;
77
8- pub fn adjust_intrinsic_arguments < ' b , ' gcc > (
9- builder : & Builder < ' _ , ' gcc , ' _ > ,
8+ pub fn adjust_intrinsic_arguments < ' a , ' b , ' gcc , ' tcx > (
9+ builder : & Builder < ' a , ' gcc , ' tcx > ,
1010 gcc_func : FunctionPtrType < ' gcc > ,
1111 mut args : Cow < ' b , [ RValue < ' gcc > ] > ,
1212 func_name : & str ,
@@ -479,8 +479,8 @@ pub fn adjust_intrinsic_arguments<'b, 'gcc>(
479479 args
480480}
481481
482- pub fn adjust_intrinsic_return_value < ' gcc > (
483- builder : & Builder < ' _ , ' gcc , ' _ > ,
482+ pub fn adjust_intrinsic_return_value < ' a , ' gcc , ' tcx > (
483+ builder : & Builder < ' a , ' gcc , ' tcx > ,
484484 mut return_value : RValue < ' gcc > ,
485485 func_name : & str ,
486486 args : & [ RValue < ' gcc > ] ,
@@ -628,7 +628,7 @@ pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function
628628}
629629
630630#[ cfg( feature = "master" ) ]
631- pub fn intrinsic < ' gcc > ( name : & str , cx : & CodegenCx < ' gcc , ' _ > ) -> Function < ' gcc > {
631+ pub fn intrinsic < ' gcc , ' tcx > ( name : & str , cx : & CodegenCx < ' gcc , ' tcx > ) -> Function < ' gcc > {
632632 if name == "llvm.prefetch" {
633633 let gcc_name = "__builtin_prefetch" ;
634634 let func = cx. context . get_builtin_function ( gcc_name) ;
0 commit comments