return_to_block: StackPopCleanup,
) -> EvalResult<'tcx> {
if self.stack.len() > 1 { // FIXME should be "> 0", printing topmost frame crashes rustc...
- debug!("PAUSING({}) {}", self.cur_frame(), self.frame().instance);
+ info!("PAUSING({}) {}", self.cur_frame(), self.frame().instance);
}
::log_settings::settings().indentation += 1;
}
if self.stack.len() > 1 { // FIXME no check should be needed, but some instances ICE
- debug!("ENTERING({}) {}", self.cur_frame(), self.frame().instance);
+ info!("ENTERING({}) {}", self.cur_frame(), self.frame().instance);
}
if self.stack.len() > self.tcx.sess.const_eval_stack_frame_limit {
pub(super) fn pop_stack_frame(&mut self) -> EvalResult<'tcx> {
if self.stack.len() > 1 { // FIXME no check should be needed, but some instances ICE
- debug!("LEAVING({}) {}", self.cur_frame(), self.frame().instance);
+ info!("LEAVING({}) {}", self.cur_frame(), self.frame().instance);
}
::log_settings::settings().indentation -= 1;
let frame = self.stack.pop().expect(
}
if self.stack.len() > 1 { // FIXME should be "> 0", printing topmost frame crashes rustc...
- debug!("CONTINUING({}) {}", self.cur_frame(), self.frame().instance);
+ info!("CONTINUING({}) {}", self.cur_frame(), self.frame().instance);
}
Ok(())
}
fn statement(&mut self, stmt: &mir::Statement<'tcx>) -> EvalResult<'tcx> {
- debug!("{:?}", stmt);
+ info!("{:?}", stmt);
use rustc::mir::StatementKind::*;
}
fn terminator(&mut self, terminator: &mir::Terminator<'tcx>) -> EvalResult<'tcx> {
- debug!("{:?}", terminator.kind);
+ info!("{:?}", terminator.kind);
self.tcx.span = terminator.source_info.span;
self.memory.tcx.span = terminator.source_info.span;
if !self.stack.is_empty() {
// This should change *something*
debug_assert!(self.cur_frame() != old_stack || self.frame().block != old_bb);
- debug!("// {:?}", self.frame().block);
+ info!("// {:?}", self.frame().block);
}
Ok(())
}