about summary refs log tree commit diff stats
path: root/059generic_recipe.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-06 17:03:02 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-06 17:03:02 -0800
commit57d01f212c8cddb14f585b3ab32984d11a9222e3 (patch)
tree924df28cf2b5aa37a037f7375343667ec8ca0341 /059generic_recipe.cc
parent3bcc53bcd6345dc5aa6ddeca949ab59dba6e7590 (diff)
downloadmu-57d01f212c8cddb14f585b3ab32984d11a9222e3.tar.gz
2382
Starting to leave commented out prints again out of desperation.
Diffstat (limited to '059generic_recipe.cc')
-rw-r--r--059generic_recipe.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/059generic_recipe.cc b/059generic_recipe.cc
index c3dfa486..e435f3f3 100644
--- a/059generic_recipe.cc
+++ b/059generic_recipe.cc
@@ -23,15 +23,15 @@ recipe foo a:_t -> result:_t [
 //: Before anything else, disable all previous transforms which rely on
 //: reagent.type if a recipe contains any type ingredients.
 
-:(after "void check_invalid_types(const recipe_ordinal r)")
+:(after "void check_instruction(const recipe_ordinal r)")
   if (any_type_ingredient_in_header(r)) return;
-:(after "void check_header_products(const recipe_ordinal r)")
+:(after "void check_or_set_invalid_types(const recipe_ordinal r)")
   if (any_type_ingredient_in_header(r)) return;
 :(after "void transform_names(const recipe_ordinal r)")
   if (any_type_ingredient_in_header(r)) return;
 :(after "void transform_new_to_allocate(const recipe_ordinal r)")
   if (any_type_ingredient_in_header(r)) return;
-:(after "void check_instruction(const recipe_ordinal r)")
+:(after "void check_header_products(const recipe_ordinal r)")
   if (any_type_ingredient_in_header(r)) return;
 
 :(before "End Instruction Dispatch(inst, best_score)")
@@ -43,6 +43,7 @@ if (best_score == -1) {
     variants.push_back(new_variant(exemplar, inst));
     inst.name = get(Recipe, variants.back()).name;
     trace(9992, "transform") << "new specialization: " << inst.name << end();
+//?     cerr << "new specialization: " << inst.name << '\n';
   }
 }