From 7feea75b13522c28d168a5200cfb7a89c06ad161 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 21 May 2015 18:57:25 -0700 Subject: 1417 - draft zoom levels in traces --- 023jump.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '023jump.cc') diff --git a/023jump.cc b/023jump.cc index fba76150..a737bf82 100644 --- a/023jump.cc +++ b/023jump.cc @@ -19,7 +19,7 @@ case JUMP: { assert(SIZE(ingredients) == 1); assert(scalar(ingredients.at(0))); instruction_counter += ingredients.at(0).at(0); - trace("run") << "jumping to instruction " << instruction_counter+1; + trace(Primitive_recipe_depth, "run") << "jumping to instruction " << instruction_counter+1; break; } @@ -48,12 +48,12 @@ case JUMP_IF: { assert(SIZE(ingredients) == 2); assert(scalar(ingredients.at(0))); if (!ingredients.at(0).at(0)) { - trace("run") << "jump-if fell through"; + trace(Primitive_recipe_depth, "run") << "jump-if fell through"; break; } assert(scalar(ingredients.at(1))); instruction_counter += ingredients.at(1).at(0); - trace("run") << "jumping to instruction " << instruction_counter+1; + trace(Primitive_recipe_depth, "run") << "jumping to instruction " << instruction_counter+1; break; } @@ -87,12 +87,12 @@ case JUMP_UNLESS: { assert(SIZE(ingredients) == 2); assert(scalar(ingredients.at(0))); if (ingredients.at(0).at(0)) { - trace("run") << "jump-unless fell through"; + trace(Primitive_recipe_depth, "run") << "jump-unless fell through"; break; } assert(scalar(ingredients.at(1))); instruction_counter += ingredients.at(1).at(0); - trace("run") << "jumping to instruction " << instruction_counter+1; + trace(Primitive_recipe_depth, "run") << "jumping to instruction " << instruction_counter+1; break; } -- cgit 1.4.1-2-gfad0