File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ mod intercept {
43
43
44
44
impl < ' tcx > EvalContextExt < ' tcx > for crate :: MiriInterpCx < ' tcx > { }
45
45
pub trait EvalContextExt < ' tcx > : crate :: MiriInterpCxExt < ' tcx > {
46
- fn check_genmc_intercept_function (
46
+ fn genmc_intercept_function (
47
47
& mut self ,
48
48
_instance : rustc_middle:: ty:: Instance < ' tcx > ,
49
49
_args : & [ rustc_const_eval:: interpret:: FnArg < ' tcx , crate :: Provenance > ] ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ impl<'tcx> EvalContextExt<'tcx> for crate::MiriInterpCx<'tcx> {}
13
13
pub trait EvalContextExt < ' tcx > : crate :: MiriInterpCxExt < ' tcx > {
14
14
/// Given a `ty::Instance<'tcx>`, do any required special handling.
15
15
/// Returns true if this `instance` should be skipped (i.e., no MIR should be executed for it).
16
- fn check_genmc_intercept_function (
16
+ fn genmc_intercept_function (
17
17
& mut self ,
18
18
instance : rustc_middle:: ty:: Instance < ' tcx > ,
19
19
args : & [ rustc_const_eval:: interpret:: FnArg < ' tcx , crate :: Provenance > ] ,
Original file line number Diff line number Diff line change @@ -1185,7 +1185,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
1185
1185
}
1186
1186
1187
1187
if ecx. machine . data_race . as_genmc_ref ( ) . is_some ( )
1188
- && ecx. check_genmc_intercept_function ( instance, args, dest) ?
1188
+ && ecx. genmc_intercept_function ( instance, args, dest) ?
1189
1189
{
1190
1190
ecx. return_to_block ( ret) ?;
1191
1191
return interp_ok ( None ) ;
You can’t perform that action at this time.
0 commit comments