diff options
Diffstat (limited to 'src/wasm-stack.h')
-rw-r--r-- | src/wasm-stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-stack.h b/src/wasm-stack.h index 863bbbf51..b42ae1253 100644 --- a/src/wasm-stack.h +++ b/src/wasm-stack.h @@ -166,8 +166,8 @@ private: // type => number of locals of that type in the compact form std::map<Type, size_t> numLocalsByType; - // local index => index in compact form of [all int32s][all int64s]etc - std::map<Index, size_t> mappedLocals; + // (local index, tuple index) => binary local index + std::map<std::pair<Index, Index>, size_t> mappedLocals; }; // Takes binaryen IR and converts it to something else (binary or stack IR) |