diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-04 00:08:02 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-04 00:08:02 -0800 |
commit | 8050782c17560ef33a85bd739da8158f9c530e39 (patch) | |
tree | 01c37341f7a65c5ed3c5f804b2d8481043eb842b /054static_dispatch.cc | |
parent | 9a20f9e32252357e4a445b2eb98bb5d8725f2157 (diff) | |
download | mu-8050782c17560ef33a85bd739da8158f9c530e39.tar.gz |
4136
Diffstat (limited to '054static_dispatch.cc')
-rw-r--r-- | 054static_dispatch.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/054static_dispatch.cc b/054static_dispatch.cc index 0c0deffe..566bb7ad 100644 --- a/054static_dispatch.cc +++ b/054static_dispatch.cc @@ -168,8 +168,7 @@ void resolve_ambiguous_calls(const recipe_ordinal r) { if (inst.is_label) continue; if (non_ghost_size(get_or_insert(Recipe_variants, inst.name)) == 0) continue; trace(9992, "transform") << "instruction " << to_original_string(inst) << end(); - Resolve_stack.push_front(call(r)); - Resolve_stack.front().running_step_index = index; + Resolve_stack.push_front(call(r, index)); string new_name = best_variant(inst, caller_recipe); if (!new_name.empty()) inst.name = new_name; |