about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-07 19:15:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-07 19:15:51 -0700
commita1dcc02fe55e5d3d1ad43f3644df2e06dac2977d (patch)
treee66554be0fb8d65f7339e55dd0a03be06c9b75af /020run.cc
parent9d670bb58f8841791d7531946601658cedd20229 (diff)
downloadmu-a1dcc02fe55e5d3d1ad43f3644df2e06dac2977d.tar.gz
1302
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc
index c2a44019..f92e2775 100644
--- a/020run.cc
+++ b/020run.cc
@@ -64,6 +64,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);
     // Read all ingredients.
     vector<vector<long long int> > ingredients;
     for (index_t i = 0; i < current_instruction().ingredients.size(); ++i) {