about summary refs log tree commit diff stats
path: root/057static_dispatch.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-07 22:26:00 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-07 22:26:00 -0800
commit562ceed016e00411407356cf6d7ec960b86811e1 (patch)
treef62835df442d47f1265e8173459997a93e4b7fae /057static_dispatch.cc
parent6fa778b3e71f625fad5e98d540b2a613328f8571 (diff)
downloadmu-562ceed016e00411407356cf6d7ec960b86811e1.tar.gz
2391
No, my idea was abortive. My new plan was to run no transforms for
generic recipes, and instead only run them on concrete specializations
as they're created.

The trouble with this approach is that new contains a type specification
in its ingredient which apparently needed to be transformed into an
allocate before specialization.

But no, how was that working? How was new computing size based on type
ingredients? It might have been wrong all along.
Diffstat (limited to '057static_dispatch.cc')
-rw-r--r--057static_dispatch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc
index b8b663e2..a52cda9a 100644
--- a/057static_dispatch.cc
+++ b/057static_dispatch.cc
@@ -112,7 +112,7 @@ Transform.push_back(resolve_ambiguous_calls);  // idempotent
 void resolve_ambiguous_calls(recipe_ordinal r) {
   if (!get(Recipe, r).has_header) return;
   trace(9991, "transform") << "--- resolve ambiguous calls for recipe " << get(Recipe, r).name << end();
-//?   cerr << "--- resolve ambiguous calls for recipe " << get(Recipe, r).name << '\n';
+  cerr << "--- resolve ambiguous calls for recipe " << get(Recipe, r).name << '\n';
   for (long long int index = 0; index < SIZE(get(Recipe, r).steps); ++index) {
     instruction& inst = get(Recipe, r).steps.at(index);
     if (inst.is_label) continue;