@@ -10,7 +10,7 @@ use rustc_middle::mir;
10
10
use rustc_middle:: ty:: { self , Ty , TyCtxt } ;
11
11
use rustc_span:: def_id:: DefId ;
12
12
use rustc_target:: abi:: Size ;
13
- use rustc_target:: spec:: abi:: Abi ;
13
+ use rustc_target:: spec:: abi:: Abi as CallAbi ;
14
14
15
15
use super :: {
16
16
AllocId , AllocRange , Allocation , ConstAllocation , Frame , ImmTy , InterpCx , InterpResult ,
@@ -138,7 +138,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
138
138
/// Whether to enforce integers and floats not having provenance.
139
139
fn enforce_number_no_provenance ( ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool ;
140
140
141
- /// Whether function calls should be [ABI](Abi )-checked.
141
+ /// Whether function calls should be [ABI](CallAbi )-checked.
142
142
fn enforce_abi ( _ecx : & InterpCx < ' mir , ' tcx , Self > ) -> bool {
143
143
true
144
144
}
@@ -169,7 +169,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
169
169
fn find_mir_or_eval_fn (
170
170
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
171
171
instance : ty:: Instance < ' tcx > ,
172
- abi : Abi ,
172
+ abi : CallAbi ,
173
173
args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
174
174
destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
175
175
target : Option < mir:: BasicBlock > ,
@@ -181,7 +181,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
181
181
fn call_extra_fn (
182
182
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
183
183
fn_val : Self :: ExtraFnVal ,
184
- abi : Abi ,
184
+ abi : CallAbi ,
185
185
args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
186
186
destination : & PlaceTy < ' tcx , Self :: PointerTag > ,
187
187
target : Option < mir:: BasicBlock > ,
@@ -483,7 +483,7 @@ pub macro compile_time_machine(<$mir: lifetime, $tcx: lifetime>) {
483
483
fn call_extra_fn (
484
484
_ecx : & mut InterpCx < $mir, $tcx, Self > ,
485
485
fn_val : !,
486
- _abi : Abi ,
486
+ _abi : CallAbi ,
487
487
_args : & [ OpTy < $tcx> ] ,
488
488
_destination : & PlaceTy < $tcx, Self :: PointerTag > ,
489
489
_target : Option < mir:: BasicBlock > ,
0 commit comments