From 0a84ff07bd13a1c2261b4f2db2e1042487431dfe Mon Sep 17 00:00:00 2001 From: Bruno Dutra Date: Sun, 26 Aug 2018 16:28:35 +0200 Subject: [PATCH] Add an info log when snapshotting the constant evaluation context --- src/librustc_mir/interpret/eval_context.rs | 2 ++ 1 file changed, 2 insertions(+) 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(())