summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index bf1cb14d6..bcf6cf45f 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -696,8 +696,8 @@ public:
void writeExports();
void writeDataSegments();
- std::map<Name, Index> mappedFunctions; // name of the Function => index. first imports, then internals
- std::map<Name, uint32_t> mappedGlobals; // name of the Global => index. first imported globals, then internal globals
+ std::unordered_map<Name, Index> mappedFunctions; // name of the Function => index. first imports, then internals
+ std::unordered_map<Name, uint32_t> mappedGlobals; // name of the Global => index. first imported globals, then internal globals
uint32_t getFunctionIndex(Name name);
uint32_t getGlobalIndex(Name name);