summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-11-02 21:19:01 -0700
committerGitHub <noreply@github.com>2017-11-02 21:19:01 -0700
commit4d9849ffbde861e10193cb15cce502eb49e1cb68 (patch)
treed51a0c27a1b44760553b94940263a8165f92a942 /src/binary-reader-objdump.cc
parent9c65b752bd12b55cbfb7cd5380fdf04614608c36 (diff)
downloadwabt-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