1
Fork 0

Add an info log when snapshotting the constant evaluation context

This commit is contained in:
Bruno Dutra 2018-08-26 16:28:35 +02:00
parent 806ecabab1
commit 0a84ff07bd

View file

@ -235,6 +235,8 @@ impl<'a, 'mir, 'tcx, M> InfiniteLoopDetector<'a, 'mir, 'tcx, M>
return Ok(())
}
info!("snapshotting the state of the interpreter");
if self.snapshots.insert(EvalSnapshot::new(machine, memory, stack)) {
// Spurious collision or first cycle
return Ok(())