diff options
author | Ben Smith <binjimin@gmail.com> | 2017-11-02 21:19:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 21:19:01 -0700 |
commit | 4d9849ffbde861e10193cb15cce502eb49e1cb68 (patch) | |
tree | d51a0c27a1b44760553b94940263a8165f92a942 /src/binary-reader-objdump.cc | |
parent | 9c65b752bd12b55cbfb7cd5380fdf04614608c36 (diff) | |
download | wabt-4d9849ffbde861e10193cb15cce502eb49e1cb68.tar.gz wabt-4d9849ffbde861e10193cb15cce502eb49e1cb68.tar.bz2 wabt-4d9849ffbde861e10193cb15cce502eb49e1cb68.zip |
Fix bad folding w/ imports and generating names (#665)
The name generation pass was adding an entry to the function binding
hash, but using the import index instead of the function/global/etc.
index. As a result, subsequent lookups would return the wrong function.
In this case, it would cause the wat folding code to use a function with
the wrong number of parameters.
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions