about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--057static_dispatch.cc2
-rw-r--r--059shape_shifting_recipe.cc12
2 files changed, 0 insertions, 14 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc
index 4d5432a3..0bc776ea 100644
--- a/057static_dispatch.cc
+++ b/057static_dispatch.cc
@@ -32,7 +32,6 @@ for (map<string, vector<recipe_ordinal> >::iterator p = Recipe_variants.begin();
 :(before "End Load Recipe Header(result)")
 if (contains_key(Recipe_ordinal, result.name)) {
   const recipe_ordinal r = get(Recipe_ordinal, result.name);
-//?   if (variant_already_exists(result)) cerr << "AAAAAAAAAAAAAAAAAA variant already exists " << result.name << '\n';
   if ((!contains_key(Recipe, r) || get(Recipe, r).has_header)
       && !variant_already_exists(result)) {
     string new_name = next_unused_recipe_name(result.name);
@@ -124,7 +123,6 @@ void resolve_ambiguous_calls(recipe_ordinal r) {
     if (get(Recipe_variants, inst.name).empty()) continue;
     replace_best_variant(inst, caller_recipe);
   }
-//?   if (caller_recipe.name == "main") cerr << "=============== " << debug_string(caller_recipe) << '\n';
 }
 
 void replace_best_variant(instruction& inst, const recipe& caller_recipe) {
diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc
index c34466fe..4067c1fa 100644
--- a/059shape_shifting_recipe.cc
+++ b/059shape_shifting_recipe.cc
@@ -61,7 +61,6 @@ recently_added_shape_shifting_recipes.clear();
 
 :(before "End Instruction Dispatch(inst, best_score)")
 if (best_score == -1) {
-//?   if (inst.name == "push-duplex") Trace_stream = new trace_stream;
   trace(9992, "transform") << "no variant found; searching for variant with suitable type ingredients" << end();
   recipe_ordinal exemplar = pick_matching_shape_shifting_variant(variants, inst, best_score);
   if (exemplar) {
@@ -71,12 +70,6 @@ if (best_score == -1) {
     inst.name = get(Recipe, variants.back()).name;
     trace(9992, "transform") << "new specialization: " << inst.name << end();
   }
-//?   if (inst.name == "push-duplex") {
-//?     cerr << "======== {\n";
-//?     cerr << inst.to_string() << '\n';
-//?     DUMP("");
-//?     cerr << "======== }\n";
-//?   }
 }
 
 :(code)
@@ -145,11 +138,6 @@ bool any_type_ingredient_in_header(recipe_ordinal variant) {
 }
 
 bool deeply_equal_concrete_types(reagent lhs, reagent rhs) {
-//?   cerr << debug_string(lhs) << " vs " << debug_string(rhs) << '\n';
-//?   bool result = deeply_equal_concrete_types(lhs.properties.at(0).second, rhs.properties.at(0).second, rhs);
-//?   cerr << "  => " << result << '\n';
-//?   return result;
-//?   cerr << "== " << debug_string(lhs) << " vs " << debug_string(rhs) << '\n';
   canonize_type(lhs);
   canonize_type(rhs);
   return deeply_equal_concrete_types(lhs.properties.at(0).second, rhs.properties.at(0).second, rhs);