summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-06-01 15:26:55 -0400
committerGitHub <noreply@github.com>2021-06-01 19:26:55 +0000
commite40396003798678803f4091ac4132aefa3905d7a (patch)
treefe09746fd4a3f688edbdff718edc847ac7aeb548 /src/wasm/wasm-binary.cpp
parent028f47368fe844130f52ad7811c8028ebd18a38e (diff)
downloadbinaryen-e40396003798678803f4091ac4132aefa3905d7a.tar.gz
binaryen-e40396003798678803f4091ac4132aefa3905d7a.tar.bz2
binaryen-e40396003798678803f4091ac4132aefa3905d7a.zip
[wasm-split] Make option validation declarative (#3916)
In anticipation of adding a third wasm-split mode, merge-profiles, in addition to the existing split and instrument modes, refactor wasm-split's option validation to let the valid modes be declared for each option. This approach is more scalable and robust than the ad-hoc validation we had previously.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions