summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2017-09-23 21:54:19 -0400
committerAlon Zakai <alonzakai@gmail.com>2017-09-23 18:54:19 -0700
commit1fb2b02d11e8310883b966c8247adc4b54a8f5b3 (patch)
tree85a118ca6025285255bf1a664daf9cbed8482aae /src/wasm.h
parentf84fa96a0abb482a392040cf0aeab627345d812d (diff)
downloadbinaryen-1fb2b02d11e8310883b966c8247adc4b54a8f5b3.tar.gz
binaryen-1fb2b02d11e8310883b966c8247adc4b54a8f5b3.tar.bz2
binaryen-1fb2b02d11e8310883b966c8247adc4b54a8f5b3.zip
Make localNames into a map (#1189)
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index fc167342a..50646e39f 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -591,7 +591,7 @@ public:
Expression* body;
// local names. these are optional.
- std::vector<Name> localNames;
+ std::map<Index, Name> localNames;
std::map<Name, Index> localIndices;
struct DebugLocation {