about summary refs log tree commit diff stats
path: root/057static_dispatch.cc
diff options
context:
space:
mode:
Diffstat (limited to '057static_dispatch.cc')
-rw-r--r--057static_dispatch.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc
index 4de67aa3..3bac046e 100644
--- a/057static_dispatch.cc
+++ b/057static_dispatch.cc
@@ -108,6 +108,7 @@ Transform.push_back(resolve_ambiguous_calls);
 
 :(code)
 void resolve_ambiguous_calls(recipe_ordinal r) {
+  if (!Recipe[r].has_header) return;
   trace(9991, "transform") << "--- resolve ambiguous calls for recipe " << Recipe[r].name << end();
   for (long long int index = 0; index < SIZE(Recipe[r].steps); ++index) {
     instruction& inst = Recipe[r].steps.at(index);