From ceefc4d45ced8b0913f35657d68667de884eddf9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 24 Apr 2015 20:28:40 -0700 Subject: 1175 --- cpp/020run | 5 ----- cpp/035call | 3 --- 2 files changed, 8 deletions(-) (limited to 'cpp') 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 -- cgit 1.4.1-2-gfad0