about summary refs log tree commit diff stats
path: root/059shape_shifting_recipe.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-22 10:07:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-22 10:07:19 -0800
commitaff93bb2c1ea1a96fc110fad8b2dd84e0673f87f (patch)
tree2b346b4d7cfa392800b1c652089be1080380aad7 /059shape_shifting_recipe.cc
parentc8b6113b9784d5cf065978918cd42ac9f2b2f2a3 (diff)
downloadmu-aff93bb2c1ea1a96fc110fad8b2dd84e0673f87f.tar.gz
2472
Diffstat (limited to '059shape_shifting_recipe.cc')
-rw-r--r--059shape_shifting_recipe.cc12
1 files changed, 0 insertions, 12 deletions
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);