about summary refs log tree commit diff stats
path: root/091run_interactive.cc
diff options
context:
space:
mode:
Diffstat (limited to '091run_interactive.cc')
-rw-r--r--091run_interactive.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/091run_interactive.cc b/091run_interactive.cc
index 1f5a60fc..86f20894 100644
--- a/091run_interactive.cc
+++ b/091run_interactive.cc
@@ -141,11 +141,17 @@ void run_code_end() {
 
 // keep sync'd with save_snapshots and restore_snapshots
 void stash_snapshots() {
+  assert(Recipe_ordinal_snapshot_stash.empty());
   Recipe_ordinal_snapshot_stash = Recipe_ordinal_snapshot;
+  assert(Recipe_snapshot_stash.empty());
   Recipe_snapshot_stash = Recipe_snapshot;
+  assert(Type_ordinal_snapshot_stash.empty());
   Type_ordinal_snapshot_stash = Type_ordinal_snapshot;
+  assert(Type_snapshot_stash.empty());
   Type_snapshot_stash = Type_snapshot;
+  assert(Name_snapshot_stash.empty());
   Name_snapshot_stash = Name_snapshot;
+  assert(Recipe_variants_snapshot_stash.empty());
   Recipe_variants_snapshot_stash = Recipe_variants_snapshot;
   save_snapshots();
 }