diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 12:09:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 12:09:23 -0700 |
commit | cdd6fd09673faa6ed72d1b7f52333c12100df049 (patch) | |
tree | 1b6355df38822a1daaf4e91df65dce556097d9bc /024jump.cc | |
parent | d9025124a102fb7b421699e4e0463a3c62b261cb (diff) | |
download | mu-cdd6fd09673faa6ed72d1b7f52333c12100df049.tar.gz |
2313
Diffstat (limited to '024jump.cc')
-rw-r--r-- | 024jump.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/024jump.cc b/024jump.cc index 9e5c0838..30d5381f 100644 --- a/024jump.cc +++ b/024jump.cc @@ -29,7 +29,7 @@ case JUMP: { case JUMP: { assert(current_instruction().ingredients.at(0).initialized); current_step_index() += ingredients.at(0).at(0)+1; - trace(Primitive_recipe_depth, "run") << "jumping to instruction " << current_step_index() << end(); + trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); continue; // skip rest of this instruction } @@ -72,11 +72,11 @@ case JUMP_IF: { case JUMP_IF: { assert(current_instruction().ingredients.at(1).initialized); if (!ingredients.at(0).at(0)) { - trace(Primitive_recipe_depth, "run") << "jump-if fell through" << end(); + trace(9998, "run") << "jump-if fell through" << end(); break; } current_step_index() += ingredients.at(1).at(0)+1; - trace(Primitive_recipe_depth, "run") << "jumping to instruction " << current_step_index() << end(); + trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); continue; // skip rest of this instruction } @@ -124,11 +124,11 @@ case JUMP_UNLESS: { case JUMP_UNLESS: { assert(current_instruction().ingredients.at(1).initialized); if (ingredients.at(0).at(0)) { - trace(Primitive_recipe_depth, "run") << "jump-unless fell through" << end(); + trace(9998, "run") << "jump-unless fell through" << end(); break; } current_step_index() += ingredients.at(1).at(0)+1; - trace(Primitive_recipe_depth, "run") << "jumping to instruction " << current_step_index() << end(); + trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); continue; // skip rest of this instruction } |