diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-05 00:12:18 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-05 00:12:18 -0800 |
commit | 2d1e7d55cbcead8dfd861fa29c094fac11acb873 (patch) | |
tree | 1fd35e361d771de4f42f90bd5504852adf40053c /059generic_recipe.cc | |
parent | 9cfd925aa408d32197cfba6ef870f3f45cc6309a (diff) | |
download | mu-2d1e7d55cbcead8dfd861fa29c094fac11acb873.tar.gz |
2363 - duplex-list is now generic.
It wasn't a phase-ordering issue after all..
Diffstat (limited to '059generic_recipe.cc')
-rw-r--r-- | 059generic_recipe.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/059generic_recipe.cc b/059generic_recipe.cc index 72521285..4881c4b4 100644 --- a/059generic_recipe.cc +++ b/059generic_recipe.cc @@ -38,6 +38,12 @@ if (best_score == -1) { } } +//: Don't bother resolving ambiguous calls inside generic recipes. Just do +//: their specializations. + +:(after "void resolve_ambiguous_calls") +if (any_type_ingredient_in_header(r)) return; + :(code) recipe_ordinal pick_matching_generic_variant(vector<recipe_ordinal>& variants, const instruction& inst, long long int& best_score) { recipe_ordinal result = 0; |