about summary refs log tree commit diff stats
path: root/023jump.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-21 18:57:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-21 18:57:25 -0700
commit7feea75b13522c28d168a5200cfb7a89c06ad161 (patch)
tree66163d75c978eb4a13b59962470d3f26e7a7cf29 /023jump.cc
parent5feb36ff8f189f5aeedd9ec3c436a3c5d90972ca (diff)
downloadmu-7feea75b13522c28d168a5200cfb7a89c06ad161.tar.gz
1417 - draft zoom levels in traces
Diffstat (limited to '023jump.cc')
-rw-r--r--023jump.cc10
1 files changed, 5 insertions, 5 deletions
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;
 }