@@ -949,7 +949,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
949
949
dest : & MPlaceTy < ' tcx , Provenance > ,
950
950
ret : Option < mir:: BasicBlock > ,
951
951
unwind : mir:: UnwindAction ,
952
- ) -> InterpResult < ' tcx , Option < ( & ' mir mir:: Body < ' tcx > , ty:: Instance < ' tcx > ) > > {
952
+ ) -> InterpResult < ' tcx , Option < ( & ' tcx mir:: Body < ' tcx > , ty:: Instance < ' tcx > ) > > {
953
953
// For foreign items, try to see if we can emulate them.
954
954
if ecx. tcx . is_foreign_item ( instance. def_id ( ) ) {
955
955
// An external function call that does not have a MIR body. We either find MIR elsewhere
@@ -1359,8 +1359,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
1359
1359
#[ inline( always) ]
1360
1360
fn init_frame_extra (
1361
1361
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
1362
- frame : Frame < ' mir , ' tcx , Provenance > ,
1363
- ) -> InterpResult < ' tcx , Frame < ' mir , ' tcx , Provenance , FrameExtra < ' tcx > > > {
1362
+ frame : Frame < ' tcx , Provenance > ,
1363
+ ) -> InterpResult < ' tcx , Frame < ' tcx , Provenance , FrameExtra < ' tcx > > > {
1364
1364
// Start recording our event before doing anything else
1365
1365
let timing = if let Some ( profiler) = ecx. machine . profiler . as_ref ( ) {
1366
1366
let fn_name = frame. instance . to_string ( ) ;
@@ -1391,13 +1391,13 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
1391
1391
1392
1392
fn stack < ' a > (
1393
1393
ecx : & ' a InterpCx < ' mir , ' tcx , Self > ,
1394
- ) -> & ' a [ Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > ] {
1394
+ ) -> & ' a [ Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > ] {
1395
1395
ecx. active_thread_stack ( )
1396
1396
}
1397
1397
1398
1398
fn stack_mut < ' a > (
1399
1399
ecx : & ' a mut InterpCx < ' mir , ' tcx , Self > ,
1400
- ) -> & ' a mut Vec < Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > > {
1400
+ ) -> & ' a mut Vec < Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > > {
1401
1401
ecx. active_thread_stack_mut ( )
1402
1402
}
1403
1403
@@ -1444,7 +1444,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
1444
1444
1445
1445
fn before_stack_pop (
1446
1446
ecx : & InterpCx < ' mir , ' tcx , Self > ,
1447
- frame : & Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > ,
1447
+ frame : & Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > ,
1448
1448
) -> InterpResult < ' tcx > {
1449
1449
// We want this *before* the return value copy, because the return place itself is protected
1450
1450
// until we do `end_call` here.
@@ -1461,7 +1461,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
1461
1461
#[ inline( always) ]
1462
1462
fn after_stack_pop (
1463
1463
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
1464
- frame : Frame < ' mir , ' tcx , Provenance , FrameExtra < ' tcx > > ,
1464
+ frame : Frame < ' tcx , Provenance , FrameExtra < ' tcx > > ,
1465
1465
unwinding : bool ,
1466
1466
) -> InterpResult < ' tcx , StackPopJump > {
1467
1467
if frame. extra . is_user_relevant {
0 commit comments