diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-07 10:38:19 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-07 10:38:19 -0700 |
commit | 1179f0d456004bf0a7edd92fc083047ac8992801 (patch) | |
tree | 225e4887d8284ab359096a08a1896bf1ca77113a /020run.cc | |
parent | c6e1041fa419461aacaf853c8040144bd52b0b5d (diff) | |
download | mu-1179f0d456004bf0a7edd92fc083047ac8992801.tar.gz |
1295 - broken snapshot
I spent a couple of hours debugging this because routine-state only sometimes writes to its product. This is unacceptable. Fix this first.
Diffstat (limited to '020run.cc')
-rw-r--r-- | 020run.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc index d8fdcf55..2cbfdc45 100644 --- a/020run.cc +++ b/020run.cc @@ -55,6 +55,7 @@ void run_current_routine() if (current_instruction().is_label) { ++current_step_index(); continue; } trace("run") << "instruction " << current_recipe_name() << '/' << current_step_index(); trace("run") << current_instruction().to_string(); + assert(Memory[0] == 0); //? trace("run") << Memory[1033] << '\n'; //? 1 //? cout << "operation " << current_instruction().operation << '\n'; //? 3 switch (current_instruction().operation) { |