summaryrefslogtreecommitdiff
path: root/src/passes/RedundantSetElimination.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-03-31 11:10:14 -0700
committerGitHub <noreply@github.com>2022-03-31 18:10:14 +0000
commitf7052ea934058339662e34e3472090df48a377e3 (patch)
tree539756a156dbfb606503311ec6203b4d2887646d /src/passes/RedundantSetElimination.cpp
parent33fe4f12bd30739790da3d34f5fae844f47a327f (diff)
downloadbinaryen-f7052ea934058339662e34e3472090df48a377e3.tar.gz
binaryen-f7052ea934058339662e34e3472090df48a377e3.tar.bz2
binaryen-f7052ea934058339662e34e3472090df48a377e3.zip
[NFC] Refactor Feature::All to match FeatureSet.setAll() (#4557)
As we recently noted in #4555, that Feature::All and FeatureSet.setAll() are different is potentially confusing... I think the best thing is to make them identical. This does that, and adds a new Feature::AllPossible which is everything possible and not just the set of all features that are enabled by -all. This undoes part of #4555 as now the old/simpler code works properly.
Diffstat (limited to 'src/passes/RedundantSetElimination.cpp')
0 files changed, 0 insertions, 0 deletions