summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-12-19 02:43:52 -0800
committerGitHub <noreply@github.com>2019-12-19 02:43:52 -0800
commit0048f5b004ddf50e750aa335d0be314a73852058 (patch)
treeca444866584b86eb6de82bfe12e844e5424ef969 /.gitignore
parent8b15ceea0fdcde214965aea337e887af5129ad88 (diff)
downloadbinaryen-0048f5b004ddf50e750aa335d0be314a73852058.tar.gz
binaryen-0048f5b004ddf50e750aa335d0be314a73852058.tar.bz2
binaryen-0048f5b004ddf50e750aa335d0be314a73852058.zip
Fix trapping and dangling insts in memory packing (#2540)
This does two things: - Restore `visitDataDrop` handler deleted in #2529, but now we convert invalid `data.drop`s to not `unreachable` but `nop`. This conforms to the revised spec that `data.drop` on the active segment can be treated as a nop. - Make `visitMemoryInit` trap if offset or size are not equal to 0 or if the dest address is out of bounds. Otherwise drop all its argument. Fixes #2535.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions