Add an info log when snapshotting the constant evaluation context
This commit is contained in:
parent
806ecabab1
commit
0a84ff07bd
1 changed files with 2 additions and 0 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue