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/043space.cc.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'html/043space.cc.html') diff --git a/html/043space.cc.html b/html/043space.cc.html index 61a95796..6c35bef6 100644 --- a/html/043space.cc.html +++ b/html/043space.cc.html @@ -128,7 +128,7 @@ if ('onhashchange' in window) { 62 if (is_raw(x) || is_dummy(x)) return; 63 if (x.name == "default-space") return; 64 if (!x.initialized) - 65 ¦ raise << to_original_string(current_instruction()) << ": reagent not initialized: '" << x.original_string << "'\n" << end(); + 65 ¦ raise << to_original_string(current_instruction()) << ": reagent not initialized: '" << x.original_string << "'\n" << end(); 66 x.set_value(address(x.value, space_base(x))); 67 x.properties.push_back(pair<string, string_tree*>("raw", NULL)); 68 assert(is_raw(x)); @@ -145,7 +145,7 @@ if ('onhashchange' in window) { 79 int size = get_or_insert(Memory, base); 80 if (offset >= size) { 81 ¦ // todo: test - 82 ¦ raise << "location " << offset << " is out of bounds " << size << " at " << base << '\n' << end(); + 82 ¦ raise << "location " << offset << " is out of bounds " << size << " at " << base << '\n' << end(); 83 ¦ return 0; 84 } 85 return base + /*skip length*/1 + offset; @@ -156,7 +156,7 @@ if ('onhashchange' in window) { 90 :(after "Begin Preprocess write_memory(x, data)") 91 if (x.name == "default-space") { 92 if (!scalar(data) || !is_space(x)) - 93 ¦ raise << maybe(current_recipe_name()) << "'default-space' should be of type address:array:location, but is " << to_string(x.type) << '\n' << end(); + 93 ¦ raise << maybe(current_recipe_name()) << "'default-space' should be of type address:array:location, but is " << to_string(x.type) << '\n' << end(); 94 current_call().default_space = data.at(0); 95 return; 96 } @@ -250,7 +250,7 @@ if ('onhashchange' in window) { 184 vector<double> result; 185 result.push_back(Name[get(Recipe_ordinal, current_recipe_name())][""]); 186 if (result.back() == 0) -187 ¦ raise << "no space allocated for default-space in recipe " << current_recipe_name() << "; are you using names?\n" << end(); +187 ¦ raise << "no space allocated for default-space in recipe " << current_recipe_name() << "; are you using names?\n" << end(); 188 return result; 189 } 190 :(after "Begin Preprocess write_memory(x, data)") @@ -314,12 +314,12 @@ if ('onhashchange' in window) { 248 ¦ ¦ if (has_property(product, "raw")) continue; // tests often want to check such locations after they run 249 ¦ ¦ if (escaping(product)) continue; 250 ¦ ¦ // End Checks For Reclaiming Locals -251 ¦ ¦ trace(9999, "mem") << "clearing " << product.original_string << end(); +251 ¦ ¦ trace(9999, "mem") << "clearing " << product.original_string << end(); 252 ¦ ¦ zeros.resize(size_of(product)); 253 ¦ ¦ write_memory(product, zeros); 254 ¦ } 255 } -256 trace(9999, "mem") << "automatically abandoning " << current_call().default_space << end(); +256 trace(9999, "mem") << "automatically abandoning " << current_call().default_space << end(); 257 abandon(current_call().default_space, 258 ¦ ¦ ¦ ¦ inst.products.at(0).type->right, 259 ¦ ¦ ¦ ¦ /*refcount*/1 + /*array length*/1 + /*number-of-locals*/Name[r][""]); @@ -466,11 +466,11 @@ if ('onhashchange' in window) { 400 // End check_default_space Special-cases 401 // assume recipes with only numeric addresses know what they're doing (usually tests) 402 if (!contains_non_special_name(r)) return; -403 trace(9991, "transform") << "--- check that recipe " << caller.name << " sets default-space" << end(); +403 trace(9991, "transform") << "--- check that recipe " << caller.name << " sets default-space" << end(); 404 if (caller.steps.empty()) return; 405 if (caller.steps.at(0).products.empty() 406 ¦ ¦ || caller.steps.at(0).products.at(0).name != "default-space") { -407 ¦ raise << caller.name << " does not seem to start with 'local-scope' or 'default-space'\n" << end(); +407 ¦ raise << caller.name << " does not seem to start with 'local-scope' or 'default-space'\n" << end(); 408 } 409 } 410 :(after "Load Mu Prelude") @@ -482,7 +482,7 @@ if ('onhashchange' in window) { 416 417 :(code) 418 bool contains_non_special_name(const recipe_ordinal r) { -419 for (map<string, int>::iterator p = Name[r].begin(); p != Name[r].end(); ++p) { +419 for (map<string, int>::iterator p = Name[r].begin(); p != Name[r].end(); ++p) { 420 ¦ if (p->first.empty()) continue; 421 ¦ if (p->first.find("stash_") == 0) continue; // generated by rewrite_stashes_to_text (cross-layer) 422 ¦ if (!is_special_name(p->first)) -- cgit 1.4.1-2-gfad0