summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-12-17 13:55:01 -0800
committerGitHub <noreply@github.com>2019-12-17 13:55:01 -0800
commit323e475a3ab57fe4ffd0b5826af5f6cbf0061265 (patch)
treeec8a06b85eeadc4a3ec4a66fcd6a1950b7569b2d /src/wasm/wasm-binary.cpp
parentf0a2e2c75c7bb3008f10b6edbb8dc4cfd27b7d28 (diff)
downloadbinaryen-323e475a3ab57fe4ffd0b5826af5f6cbf0061265.tar.gz
binaryen-323e475a3ab57fe4ffd0b5826af5f6cbf0061265.tar.bz2
binaryen-323e475a3ab57fe4ffd0b5826af5f6cbf0061265.zip
Correctly clear memory / table info in clearModule (#2536)
Currently `ModuleUtils::clearModule` does not clear `exists` flags in the memory and table, and running RoundTrip pass on any module that has a memory or a table fails as a result. This creates `clear` function in `Memory` and `Table` and makes `clearModule` call them.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions