diff options
author | Alon Zakai <azakai@google.com> | 2022-10-20 10:19:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 10:19:46 -0700 |
commit | 562eae16681ed11bd085151b8dcec690cf0117ca (patch) | |
tree | 9f90c6036823d545c90b002295383e7ade258650 /src/wasm/wat-parser.cpp | |
parent | b86c2b749417b671e3758032b77edb070ef05afd (diff) | |
download | binaryen-562eae16681ed11bd085151b8dcec690cf0117ca.tar.gz binaryen-562eae16681ed11bd085151b8dcec690cf0117ca.tar.bz2 binaryen-562eae16681ed11bd085151b8dcec690cf0117ca.zip |
Remove excessive validation that is not in the wasm spec (#5167)
Specifically if a segment offset was a const, we checked that it made sense. But the
wasm spec doesn't do that, and it actually causes some issues (#5163).
In theory this extra validation might be useful - compile-time error rather than runtime -
but if we want this it should probably be an optional thing, like an opt-in flag or a --lint
pass or such.
Diffstat (limited to 'src/wasm/wat-parser.cpp')
0 files changed, 0 insertions, 0 deletions