@@ -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 ;
13+ use rustc_target:: spec:: abi:: Abi as CallAbi ;
1414
1515use super :: {
1616 AllocId , AllocRange , Allocation , ConstAllocation , Frame , ImmTy , InterpCx , InterpResult ,
@@ -138,7 +138,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
138138 /// Whether to enforce integers and floats not having provenance.
139139 fn enforce_number_no_provenance ( ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool ;
140140
141- /// Whether function calls should be [ABI](Abi )-checked.
141+ /// Whether function calls should be [ABI](CallAbi )-checked.
142142 fn enforce_abi ( _ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool {
143143 true
144144 }
@@ -169,7 +169,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
169169 fn find_mir_or_eval_fn (
170170 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
171171 instance : ty:: Instance < ' tcx > ,
172- abi : Abi ,
172+ abi : CallAbi ,
173173 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
174174 destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
175175 target : Option < mir:: BasicBlock > ,
@@ -181,7 +181,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
181181 fn call_extra_fn (
182182 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
183183 fn_val : Self :: ExtraFnVal ,
184- abi : Abi ,
184+ abi : CallAbi ,
185185 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
186186 destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
187187 target : Option < mir:: BasicBlock > ,
@@ -483,7 +483,7 @@ pub macro compile_time_machine(<$mir: lifetime, $tcx: lifetime>) {
483483 fn call_extra_fn (
484484 _ecx : & mut InterpCx < $mir, $tcx, Self > ,
485485 fn_val : !,
486- _abi : Abi ,
486+ _abi : CallAbi ,
487487 _args : & [ OpTy < $tcx> ] ,
488488 _destination : & PlaceTy < $tcx, Self :: PointerTag > ,
489489 _target : Option < mir:: BasicBlock > ,
0 commit comments