summaryrefslogtreecommitdiff
path: root/src/passes/Asyncify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Asyncify.cpp')
-rw-r--r--src/passes/Asyncify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/passes/Asyncify.cpp b/src/passes/Asyncify.cpp
index 1abfa9628..7ad3fab5d 100644
--- a/src/passes/Asyncify.cpp
+++ b/src/passes/Asyncify.cpp
@@ -380,8 +380,8 @@ public:
}
private:
- std::map<Type, Name> map;
- std::map<Name, Type> rev;
+ std::unordered_map<Type, Name> map;
+ std::unordered_map<Name, Type> rev;
// Collect the types returned from all calls for which call support globals
// may need to be generated.
@@ -1237,7 +1237,7 @@ private:
std::unique_ptr<AsyncifyBuilder> builder;
Index rewindIndex;
- std::map<Type, Index> fakeCallLocals;
+ std::unordered_map<Type, Index> fakeCallLocals;
std::set<Index> relevantLiveLocals;
void findRelevantLiveLocals(Function* func) {