summaryrefslogtreecommitdiff
path: root/src/wasm/wat-parser.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-10-20 10:19:46 -0700
committerGitHub <noreply@github.com>2022-10-20 10:19:46 -0700
commit562eae16681ed11bd085151b8dcec690cf0117ca (patch)
tree9f90c6036823d545c90b002295383e7ade258650 /src/wasm/wat-parser.cpp
parentb86c2b749417b671e3758032b77edb070ef05afd (diff)
downloadbinaryen-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