diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-01-30 11:18:11 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-01-30 11:18:11 -0800 |
commit | 2ac236e2bc7b6c392142b296b9f6353ee6d9662e (patch) | |
tree | 5e44b2cc956136e84db14b9b18bd6b8b12452612 | |
parent | 09a7ef7616b482ee791646211a4baba268b23589 (diff) | |
download | mu-2ac236e2bc7b6c392142b296b9f6353ee6d9662e.tar.gz |
2616
Drop yet another source of perturbance in traces.
-rw-r--r-- | 057static_dispatch.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc index 4e0cb76a..368804e7 100644 --- a/057static_dispatch.cc +++ b/057static_dispatch.cc @@ -160,6 +160,7 @@ void replace_best_variant(instruction& inst, const recipe& caller_recipe) { long long int best_score = variant_score(inst, get(Recipe_ordinal, inst.name)); trace(9992, "transform") << "score for base: " << best_score << end(); for (long long int i = 0; i < SIZE(variants); ++i) { + if (variants.at(i) == -1) continue; //? trace(9992, "transform") << "checking variant " << i << ": " << variants.at(i) << end(); long long int current_score = variant_score(inst, variants.at(i)); trace(9992, "transform") << "score for variant " << i << ": " << current_score << end(); |