Skip to content

Commit

Permalink
fix miri step debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 8, 2019
1 parent e862c01 commit 2468b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_mir/interpret/step.rs
Expand Up @@ -304,7 +304,9 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
if !self.stack.is_empty() {
// This should change *something*
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(())
}
Expand Down

0 comments on commit 2468b23

Please sign in to comment.