about summary refs log tree commit diff stats
path: root/054static_dispatch.cc
diff options
context:
space:
mode:
Diffstat (limited to '054static_dispatch.cc')
-rw-r--r--054static_dispatch.cc3
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;