summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-09-25 10:10:56 +0200
committerGitHub <noreply@github.com>2020-09-25 10:10:56 +0200
commit46d2cbab48ebbc8c9aab3f285cc42b2544bb526a (patch)
treef34c609750bd2b041aaaefafe874eefcb84ab1ce /src/binaryen-c.cpp
parentfadf01842175202f59340f8c7093a090962e2269 (diff)
downloadbinaryen-46d2cbab48ebbc8c9aab3f285cc42b2544bb526a.tar.gz
binaryen-46d2cbab48ebbc8c9aab3f285cc42b2544bb526a.tar.bz2
binaryen-46d2cbab48ebbc8c9aab3f285cc42b2544bb526a.zip
Fix missing feature validations (#3171)
Instructions `ref.null`, `ref.is_null`, `ref.func`, `try`, `throw`, `rethrow` and `br_on_exn` were previously missing explicit feature checks, and this change adds them. Note that some of these already didn't validate before for other reasons, like requiring the use of a type checked otherwise, but `ref.null` and `try` validated even in context of FeatureSet::MVP, so better to be sure.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions