summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorAbbas Mashayekh <martianboy2005@gmail.com>2021-02-02 20:35:42 +0330
committerGitHub <noreply@github.com>2021-02-02 09:05:42 -0800
commitfa96b9725a95cae631654abd4dabe660284218ec (patch)
tree99839979ed8cd53da717797fd5f5a471f94a8f5d /src/wasm/wasm-validator.cpp
parentb5c287567ebcb3cbb1b1acb7f9e717f8b834ea83 (diff)
downloadbinaryen-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