diff options
author | Sam Clegg <sbc@chromium.org> | 2018-11-15 10:20:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 10:20:12 -0800 |
commit | f1666bd5eb86324867b50a9aa3d039832183f8d1 (patch) | |
tree | 5e4842d06658a913a0d560bddeebf929f4012f23 /src/binaryen-c.cpp | |
parent | 622cba9c49378f89ca94e05cbbe2af0b0c62ab44 (diff) | |
download | binaryen-f1666bd5eb86324867b50a9aa3d039832183f8d1.tar.gz binaryen-f1666bd5eb86324867b50a9aa3d039832183f8d1.tar.bz2 binaryen-f1666bd5eb86324867b50a9aa3d039832183f8d1.zip |
Fix segment size validation for imported memories (#1745)
Without this wasm-opt can't operation on emscripten-produced
SIDE_MODULES's which have zero sized memory imports.
Technically is not a validation failure if you have segments that
are larger than your initial memory, regardless of whether you
import them.
For non-imported memories it can be helpful though, so leaving it
in to catch those errors.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions