@@ -1352,7 +1352,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
13521352 ) -> InterpResult < ' tcx , Frame < ' tcx , Provenance , FrameExtra < ' tcx > > > {
13531353 // Start recording our event before doing anything else
13541354 let timing = if let Some ( profiler) = ecx. machine . profiler . as_ref ( ) {
1355- let fn_name = frame. instance . to_string ( ) ;
1355+ let fn_name = frame. instance ( ) . to_string ( ) ;
13561356 let entry = ecx. machine . string_cache . entry ( fn_name. clone ( ) ) ;
13571357 let name = entry. or_insert_with ( || profiler. alloc_string ( & * fn_name) ) ;
13581358
@@ -1443,7 +1443,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
14431443 // tracing-tree can autoamtically annotate scope changes, but it gets very confused by our
14441444 // concurrency and what it prints is just plain wrong. So we print our own information
14451445 // instead. (Cc https://github.com/rust-lang/miri/issues/2266)
1446- info ! ( "Leaving {}" , ecx. frame( ) . instance) ;
1446+ info ! ( "Leaving {}" , ecx. frame( ) . instance( ) ) ;
14471447 Ok ( ( ) )
14481448 }
14491449
@@ -1473,7 +1473,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
14731473 // Needs to be done after dropping frame to show up on the right nesting level.
14741474 // (Cc https://github.com/rust-lang/miri/issues/2266)
14751475 if !ecx. active_thread_stack ( ) . is_empty ( ) {
1476- info ! ( "Continuing in {}" , ecx. frame( ) . instance) ;
1476+ info ! ( "Continuing in {}" , ecx. frame( ) . instance( ) ) ;
14771477 }
14781478 res
14791479 }
@@ -1486,7 +1486,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
14861486 let Some ( Provenance :: Concrete { alloc_id, .. } ) = mplace. ptr ( ) . provenance else {
14871487 panic ! ( "after_local_allocated should only be called on fresh allocations" ) ;
14881488 } ;
1489- let local_decl = & ecx. frame ( ) . body . local_decls [ local] ;
1489+ let local_decl = & ecx. frame ( ) . body ( ) . local_decls [ local] ;
14901490 let span = local_decl. source_info . span ;
14911491 ecx. machine . allocation_spans . borrow_mut ( ) . insert ( alloc_id, ( span, None ) ) ;
14921492 Ok ( ( ) )
0 commit comments