summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-03-11 13:53:19 -0800
committerGitHub <noreply@github.com>2021-03-11 21:53:19 +0000
commit484563771dbca78e5323cc3f5129890aea03aed5 (patch)
tree50c869eb9ebd43cba0c5a7bd11c57129ccf61e6e /src/wasm-binary.h
parentd369cd6474364e5797e40af94676339af03723a9 (diff)
downloadbinaryen-484563771dbca78e5323cc3f5129890aea03aed5.tar.gz
binaryen-484563771dbca78e5323cc3f5129890aea03aed5.tar.bz2
binaryen-484563771dbca78e5323cc3f5129890aea03aed5.zip
Remove LUB calculation (#3669)
Since correct LUB calculation for recursive types is complicated, stop depending on LUBs throughout the code base. This also fixes a validation bug in which the validator required blocks to be typed with the LUB of all the branch types, when in fact any upper bound should have been valid. In addition to fixing that bug, this PR simplifies the code for break handling by not storing redundant information about the arity of types.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions