From 1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 19 Jun 2017 11:29:20 -0700 Subject: 3927 --- html/024jump.cc.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'html/024jump.cc.html') diff --git a/html/024jump.cc.html b/html/024jump.cc.html index 0a66579f..804d5341 100644 --- a/html/024jump.cc.html +++ b/html/024jump.cc.html @@ -80,11 +80,11 @@ if ('onhashchange' in window) { 16 :(before "End Primitive Recipe Checks") 17 case JUMP: { 18 if (SIZE(inst.ingredients) != 1) { - 19 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly one ingredient\n" << end(); + 19 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly one ingredient\n" << end(); 20 ¦ break; 21 } 22 if (!is_literal(inst.ingredients.at(0))) { - 23 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '" << to_original_string(inst) << "' should be a label or offset, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); + 23 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '" << to_original_string(inst) << "' should be a label or offset, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 24 ¦ break; 25 } 26 break; @@ -93,7 +93,7 @@ if ('onhashchange' in window) { 29 case JUMP: { 30 assert(current_instruction().ingredients.at(0).initialized); 31 current_step_index() += ingredients.at(0).at(0)+1; - 32 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); + 32 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); 33 // skip rest of this instruction 34 write_products = false; 35 fall_through_to_next_instruction = false; @@ -122,15 +122,15 @@ if ('onhashchange' in window) { 58 :(before "End Primitive Recipe Checks") 59 case JUMP_IF: { 60 if (SIZE(inst.ingredients) != 2) { - 61 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); + 61 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); 62 ¦ break; 63 } 64 if (!is_mu_scalar(inst.ingredients.at(0))) { - 65 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); + 65 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 66 ¦ break; 67 } 68 if (!is_literal(inst.ingredients.at(1))) { - 69 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); + 69 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); 70 ¦ break; 71 } 72 // End JUMP_IF Checks @@ -140,11 +140,11 @@ if ('onhashchange' in window) { 76 case JUMP_IF: { 77 assert(current_instruction().ingredients.at(1).initialized); 78 if (!ingredients.at(0).at(0)) { - 79 ¦ trace(9998, "run") << "jump-if fell through" << end(); + 79 ¦ trace(9998, "run") << "jump-if fell through" << end(); 80 ¦ break; 81 } 82 current_step_index() += ingredients.at(1).at(0)+1; - 83 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); + 83 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); 84 // skip rest of this instruction 85 write_products = false; 86 fall_through_to_next_instruction = false; @@ -178,15 +178,15 @@ if ('onhashchange' in window) { 114 :(before "End Primitive Recipe Checks") 115 case JUMP_UNLESS: { 116 if (SIZE(inst.ingredients) != 2) { -117 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); +117 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' should get exactly two ingredients\n" << end(); 118 ¦ break; 119 } 120 if (!is_mu_scalar(inst.ingredients.at(0))) { -121 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); +121 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a boolean for its first ingredient, but '" << inst.ingredients.at(0).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(0).type) << "'\n" << end(); 122 ¦ break; 123 } 124 if (!is_literal(inst.ingredients.at(1))) { -125 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); +125 ¦ raise << maybe(get(Recipe, r).name) << "'" << to_original_string(inst) << "' requires a label or offset for its second ingredient, but '" << inst.ingredients.at(1).name << "' has type '" << names_to_string_without_quotes(inst.ingredients.at(1).type) << "'\n" << end(); 126 ¦ break; 127 } 128 // End JUMP_UNLESS Checks @@ -196,11 +196,11 @@ if ('onhashchange' in window) { 132 case JUMP_UNLESS: { 133 assert(current_instruction().ingredients.at(1).initialized); 134 if (ingredients.at(0).at(0)) { -135 ¦ trace(9998, "run") << "jump-unless fell through" << end(); +135 ¦ trace(9998, "run") << "jump-unless fell through" << end(); 136 ¦ break; 137 } 138 current_step_index() += ingredients.at(1).at(0)+1; -139 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); +139 trace(9998, "run") << "jumping to instruction " << current_step_index() << end(); 140 // skip rest of this instruction 141 write_products = false; 142 fall_through_to_next_instruction = false; -- cgit 1.4.1-2-gfad0