@@ -10,7 +10,7 @@ use rustc_middle::mir;
1010use rustc_middle:: ty:: { self , Ty , TyCtxt } ;
1111use rustc_span:: def_id:: DefId ;
1212use rustc_target:: abi:: Size ;
13- use rustc_target:: spec:: abi:: Abi as FnAbi ;
13+ use rustc_target:: spec:: abi:: Abi as CallAbi ;
1414
1515use super :: {
1616 AllocId , AllocRange , Allocation , ConstAllocation , Frame , ImmTy , InterpCx , InterpResult ,
@@ -139,7 +139,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
139139 /// Whether to enforce integers and floats not having provenance.
140140 fn enforce_number_no_provenance ( ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool ;
141141
142- /// Whether function calls should be [ABI](FnAbi )-checked.
142+ /// Whether function calls should be [ABI](CallAbi )-checked.
143143 fn enforce_abi ( _ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool {
144144 true
145145 }
@@ -170,7 +170,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
170170 fn find_mir_or_eval_fn (
171171 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
172172 instance : ty:: Instance < ' tcx > ,
173- abi : FnAbi ,
173+ abi : CallAbi ,
174174 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
175175 destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
176176 target : Option < mir:: BasicBlock > ,
@@ -182,7 +182,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
182182 fn call_extra_fn (
183183 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
184184 fn_val : Self :: ExtraFnVal ,
185- abi : FnAbi ,
185+ abi : CallAbi ,
186186 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
187187 destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
188188 target : Option < mir:: BasicBlock > ,
@@ -480,7 +480,7 @@ pub macro compile_time_machine(<$mir: lifetime, $tcx: lifetime>) {
480480 fn call_extra_fn (
481481 _ecx : & mut InterpCx < $mir, $tcx, Self > ,
482482 fn_val : !,
483- _abi : FnAbi ,
483+ _abi : CallAbi ,
484484 _args : & [ OpTy < $tcx> ] ,
485485 _destination : & PlaceTy < $tcx, Self :: PointerTag > ,
486486 _target : Option < mir:: BasicBlock > ,
0 commit comments