diff options
-rw-r--r-- | 020run.cc | 2 | ||||
-rw-r--r-- | 059shape_shifting_recipe.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc index 90147e67..6481adb0 100644 --- a/020run.cc +++ b/020run.cc @@ -138,6 +138,8 @@ inline bool routine::completed() const { //? START_TRACING_UNTIL_END_OF_SCOPE; load_permanently("core.mu"); transform_all(); +//? DUMP(""); +//? exit(0); //: Step 2: load any .mu files provided at the commandline :(before "End Commandline Parsing") diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc index ed6d66b7..5bb1126d 100644 --- a/059shape_shifting_recipe.cc +++ b/059shape_shifting_recipe.cc @@ -264,7 +264,6 @@ bool is_type_ingredient_name(const string& type) { recipe_ordinal new_variant(recipe_ordinal exemplar, const instruction& inst, const recipe& caller_recipe) { string new_name = next_unused_recipe_name(inst.name); - trace(9993, "transform") << "switching " << inst.name << " to specialized " << new_name << end(); assert(!contains_key(Recipe_ordinal, new_name)); recipe_ordinal new_recipe_ordinal = put(Recipe_ordinal, new_name, Next_recipe_ordinal++); // make a copy @@ -275,6 +274,7 @@ recipe_ordinal new_variant(recipe_ordinal exemplar, const instruction& inst, con put(Recipe, new_recipe_ordinal, get(Recipe, exemplar)); recipe& new_recipe = get(Recipe, new_recipe_ordinal); new_recipe.name = new_name; + trace(9993, "transform") << "switching " << inst.name << " to specialized " << header_label(new_recipe_ordinal) << end(); // Since the exemplar never ran any transforms, we have to redo some of the // work of the check_types_by_name transform while supporting type-ingredients. compute_type_names(new_recipe); |