diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-06-14 11:32:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 11:32:10 -0700 |
commit | 8f524e8f926b6993878f02334e730fe5f65096f6 (patch) | |
tree | 47c8121c1b9f2b90d42b673b2f14798a7b8681e8 /src/passes/pass.cpp | |
parent | 24fa19071d309c59eee5c2bd966139eaab45b5ba (diff) | |
download | binaryen-8f524e8f926b6993878f02334e730fe5f65096f6.tar.gz binaryen-8f524e8f926b6993878f02334e730fe5f65096f6.tar.bz2 binaryen-8f524e8f926b6993878f02334e730fe5f65096f6.zip |
Add mode to wasm validator to check for web-environment constraints (#584)
In the web embedding, modules are not allowed to import or export
functions which have i64 params or return values. Add a mode to the
validator to check for this, and add flags to s2wasm and wasm-as to
enable or disable this check. Also add tests.
Diffstat (limited to 'src/passes/pass.cpp')
0 files changed, 0 insertions, 0 deletions