diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 20:28:40 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 20:28:40 -0700 |
commit | ceefc4d45ced8b0913f35657d68667de884eddf9 (patch) | |
tree | c076a5803ed844c9c741617102088d406b060dfb /cpp | |
parent | 46c2c7b6662db0b0f0d8b1f1af40d14ae0aa4d57 (diff) | |
download | mu-ceefc4d45ced8b0913f35657d68667de884eddf9.tar.gz |
1175
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/020run | 5 | ||||
-rw-r--r-- | cpp/035call | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/cpp/020run b/cpp/020run index eb1dc77d..1ac4ce57 100644 --- a/cpp/020run +++ b/cpp/020run @@ -53,13 +53,9 @@ void run_current_routine() { // Running One Instruction. size_t& pc = current_step_index(); -//? trace("foo") << "2: " << pc << " " << &pc; //? 1 if (current_instruction().is_label) { ++pc; continue; } -//? cout << "AAA " << Trace_stream << " ^" << Trace_stream->dump_layer << "$\n"; //? 1 -//? trace("foo") << "2.5: " << pc << " " << &pc; //? 1 trace("run") << "instruction " << current_recipe_name() << '/' << pc; //? cout << "operation " << current_instruction().operation << '\n'; //? 3 -//? if (!current_instruction().products.empty()) trace("foo") << "AAA product 0 is " << current_instruction().products[0].to_string(); //? 1 switch (current_instruction().operation) { // Primitive Recipe Implementations case COPY: { @@ -73,7 +69,6 @@ void run_current_routine() cout << "not a primitive op: " << current_instruction().operation << '\n'; } } -//? trace("foo") << "3: " << pc << " " << &pc; //? 1 ++pc; } Current_routine = NULL; diff --git a/cpp/035call b/cpp/035call index 912240ce..4e59430c 100644 --- a/cpp/035call +++ b/cpp/035call @@ -91,15 +91,12 @@ inline bool routine::completed() const { :(before "Running One Instruction") // when we reach the end of one call, we may reach the end of the one below // it, and the one below that, and so on -//? trace("foo") << "0: " << pc << " " << &pc; //? 1 while (current_step_index() >= steps().size()) { -//? trace("foo") << "pop"; //? 1 Current_routine->calls.pop(); if (Current_routine->calls.empty()) return; // todo: no results returned warning ++current_step_index(); } -//? trace("foo") << "1: " << pc << " " << &pc; //? 1 :(before "End Includes") #include <stack> |