summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passes/DeadArgumentElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/DeadArgumentElimination.cpp b/src/passes/DeadArgumentElimination.cpp
index 999607ae2..e95dc3ff9 100644
--- a/src/passes/DeadArgumentElimination.cpp
+++ b/src/passes/DeadArgumentElimination.cpp
@@ -291,7 +291,7 @@ struct DAE : public Pass {
// Scan all the functions.
scanner.run(runner, module);
// Combine all the info.
- std::unordered_map<Name, std::vector<Call*>> allCalls;
+ std::map<Name, std::vector<Call*>> allCalls;
std::unordered_set<Name> tailCallees;
for (auto& [_, info] : infoMap) {
for (auto& [name, calls] : info.calls) {