diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-04-22 15:56:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 15:56:38 -0700 |
commit | d4f5162f62e9ea920abd196bd5ca2f9505e2823e (patch) | |
tree | 90cbba9a09239e7ee48f1e94d339c7b31e376cb3 /src/tools/wasm-opt.cpp | |
parent | 711a22c65f28029ae0ca2d31a0cd6f8be9b953c7 (diff) | |
download | binaryen-d4f5162f62e9ea920abd196bd5ca2f9505e2823e.tar.gz binaryen-d4f5162f62e9ea920abd196bd5ca2f9505e2823e.tar.bz2 binaryen-d4f5162f62e9ea920abd196bd5ca2f9505e2823e.zip |
Finish bulk memory support (#2030)
Implement interpretation of remaining bulk memory ops, add bulk memory
spec tests with light modifications, fix bugs preventing the fuzzer
from running correctly with bulk memory, and fix bugs found by the
fuzzer.
Diffstat (limited to 'src/tools/wasm-opt.cpp')
-rw-r--r-- | src/tools/wasm-opt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/wasm-opt.cpp b/src/tools/wasm-opt.cpp index 6fce0f89b..519713298 100644 --- a/src/tools/wasm-opt.cpp +++ b/src/tools/wasm-opt.cpp @@ -240,6 +240,7 @@ int main(int argc, const char* argv[]) { auto input = buffer.getAsChars(); WasmBinaryBuilder parser(other, input, false); parser.read(); + options.applyFeatures(other); if (options.passOptions.validate) { bool valid = WasmValidator().validate(other); if (!valid) { |