diff options
| author | Bruno Dutra <brunocodutra@gmail.com> | 2018-08-26 16:28:35 +0200 |
|---|---|---|
| committer | Bruno Dutra <brunocodutra@gmail.com> | 2018-09-03 20:02:35 +0200 |
| commit | 0a84ff07bd13a1c2261b4f2db2e1042487431dfe (patch) | |
| tree | 5892d797eb2b80aca42d056de4f8fbff665f8941 | |
| parent | 806ecabab1921e0e2228a0f37bad4b5baf0fd4fd (diff) | |
| download | rust-0a84ff07bd13a1c2261b4f2db2e1042487431dfe.tar.gz rust-0a84ff07bd13a1c2261b4f2db2e1042487431dfe.zip | |
Add an info log when snapshotting the constant evaluation context
| -rw-r--r-- | src/librustc_mir/interpret/eval_context.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_mir/interpret/eval_context.rs b/src/librustc_mir/interpret/eval_context.rs index cc6d6d433f8..de76064b7cd 100644 --- a/src/librustc_mir/interpret/eval_context.rs +++ b/src/librustc_mir/interpret/eval_context.rs @@ -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(()) |
