diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-16 14:12:42 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-16 14:12:42 -0800 |
commit | d8a530296a7bc1a3932e61bcae98463a559641e5 (patch) | |
tree | 3570cf0d0337b15d6b037e671bb36c17a4c31b72 | |
parent | d5fe534d12d30395def6da176149177778017fe1 (diff) | |
download | mu-d8a530296a7bc1a3932e61bcae98463a559641e5.tar.gz |
2663
-rw-r--r-- | 020run.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/020run.cc b/020run.cc index 6481adb0..60c1c428 100644 --- a/020run.cc +++ b/020run.cc @@ -60,8 +60,6 @@ void run_current_routine() while (!Current_routine->completed()) // later layers will modify condition { // Running One Instruction -//? trace(9999, "aaaa") << "location 1 contains " << get_or_insert(Memory, 1) << end(); -//? Instructions_running[current_recipe_name()]++; if (current_instruction().is_label) { ++current_step_index(); continue; } trace(Initial_callstack_depth + Trace_stream->callstack_depth, "run") << current_instruction().to_string() << end(); if (get_or_insert(Memory, 0) != 0) { @@ -71,11 +69,8 @@ void run_current_routine() // read all ingredients from memory, each potentially spanning multiple locations vector<vector<double> > ingredients; if (should_copy_ingredients()) { - for (long long int i = 0; i < SIZE(current_instruction().ingredients); ++i) { + for (long long int i = 0; i < SIZE(current_instruction().ingredients); ++i) ingredients.push_back(read_memory(current_instruction().ingredients.at(i))); -//? Locations_read[current_recipe_name()] += SIZE(ingredients.back()); -//? Locations_read_by_instruction[current_instruction().name] += SIZE(ingredients.back()); - } } // instructions below will write to 'products' vector<vector<double> > products; |