diff options
author | Abbas Mashayekh <martianboy2005@gmail.com> | 2021-02-02 20:35:42 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 09:05:42 -0800 |
commit | fa96b9725a95cae631654abd4dabe660284218ec (patch) | |
tree | 99839979ed8cd53da717797fd5f5a471f94a8f5d /src/wasm/wasm-validator.cpp | |
parent | b5c287567ebcb3cbb1b1acb7f9e717f8b834ea83 (diff) | |
download | binaryen-fa96b9725a95cae631654abd4dabe660284218ec.tar.gz binaryen-fa96b9725a95cae631654abd4dabe660284218ec.tar.bz2 binaryen-fa96b9725a95cae631654abd4dabe660284218ec.zip |
Allow printing expressions based on feature set (#3537)
As discussed in #3517, we need a way to maintain the ability to print
expressions in a backward-compatible way. This adds a FeatureSet
to PrintExpressionContents which defaults to FeatureSet::All in case
a feature set is not available.
This will be used for CallIndirect to decide whether to print the table
name arg.
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
0 files changed, 0 insertions, 0 deletions