@@ -460,9 +460,6 @@ pub struct MiriMachine<'mir, 'tcx> {
460
460
/// Whether to enforce the validity invariant.
461
461
pub ( crate ) validate : bool ,
462
462
463
- /// Whether to enforce [ABI](Abi) of function calls.
464
- pub ( crate ) enforce_abi : bool ,
465
-
466
463
/// The table of file descriptors.
467
464
pub ( crate ) file_handler : shims:: unix:: FileHandler ,
468
465
/// The table of directory descriptors.
@@ -641,7 +638,6 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
641
638
tls : TlsData :: default ( ) ,
642
639
isolated_op : config. isolated_op ,
643
640
validate : config. validate ,
644
- enforce_abi : config. check_abi ,
645
641
file_handler : FileHandler :: new ( config. mute_stdout_stderr ) ,
646
642
dir_handler : Default :: default ( ) ,
647
643
layouts,
@@ -784,7 +780,6 @@ impl VisitProvenance for MiriMachine<'_, '_> {
784
780
tcx : _,
785
781
isolated_op : _,
786
782
validate : _,
787
- enforce_abi : _,
788
783
clock : _,
789
784
layouts : _,
790
785
static_roots : _,
@@ -932,8 +927,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
932
927
}
933
928
934
929
#[ inline( always) ]
935
- fn enforce_abi ( ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
936
- ecx . machine . enforce_abi
930
+ fn enforce_abi ( _ecx : & MiriInterpCx < ' mir , ' tcx > ) -> bool {
931
+ true
937
932
}
938
933
939
934
#[ inline( always) ]
0 commit comments