mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
fix miri step debug printing
This commit is contained in:
parent
e862c01aad
commit
2468b23ad5
@ -304,7 +304,9 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||||||
if !self.stack.is_empty() {
|
if !self.stack.is_empty() {
|
||||||
// This should change *something*
|
// This should change *something*
|
||||||
debug_assert!(self.cur_frame() != old_stack || self.frame().block != old_bb);
|
debug_assert!(self.cur_frame() != old_stack || self.frame().block != old_bb);
|
||||||
info!("// {:?}", self.frame().block);
|
if let Some(block) = self.frame().block {
|
||||||
|
info!("// executing {:?}", block);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user