Skip to content

Commit

Permalink
Rollup merge of rust-lang#67145 - RalfJung:miri-step, r=oli-obk
Browse files Browse the repository at this point in the history
fix miri step debug printing

r? @oli-obk
  • Loading branch information
tmandry committed Dec 9, 2019
2 parents 6b6b6f3 + 2468b23 commit 5ce5464
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_mir/interpret/step.rs
Original file line number Diff line number Diff line change
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 5ce5464

Please sign in to comment.