@@ -5,8 +5,8 @@ use rustc_codegen_ssa::traits::BuilderMethods;
5
5
6
6
use crate :: { builder:: Builder , context:: CodegenCx } ;
7
7
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 > ,
10
10
gcc_func : FunctionPtrType < ' gcc > ,
11
11
mut args : Cow < ' b , [ RValue < ' gcc > ] > ,
12
12
func_name : & str ,
@@ -479,8 +479,8 @@ pub fn adjust_intrinsic_arguments<'b, 'gcc>(
479
479
args
480
480
}
481
481
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 > ,
484
484
mut return_value : RValue < ' gcc > ,
485
485
func_name : & str ,
486
486
args : & [ RValue < ' gcc > ] ,
@@ -628,7 +628,7 @@ pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function
628
628
}
629
629
630
630
#[ 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 > {
632
632
if name == "llvm.prefetch" {
633
633
let gcc_name = "__builtin_prefetch" ;
634
634
let func = cx. context . get_builtin_function ( gcc_name) ;
0 commit comments