Rollup merge of #67145 - RalfJung:miri-step, r=oli-obk

fix miri step debug printing

r? @oli-obk
This commit is contained in:
Tyler Mandry 2019-12-09 14:33:10 -08:00 committed by GitHub
commit 5ce5464faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,7 +304,9 @@ fn terminator(&mut self, terminator: &mir::Terminator<'tcx>) -> InterpResult<'tc
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(())
}