diff options
author | Alon Zakai <azakai@google.com> | 2022-03-31 11:10:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 18:10:14 +0000 |
commit | f7052ea934058339662e34e3472090df48a377e3 (patch) | |
tree | 539756a156dbfb606503311ec6203b4d2887646d /test | |
parent | 33fe4f12bd30739790da3d34f5fae844f47a327f (diff) | |
download | binaryen-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 'test')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index 376eee7f0..3ea3f11a9 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -44,7 +44,7 @@ Features.Memory64: 2048 Features.TypedFunctionReferences: 4096 Features.RelaxedSIMD: 16384 Features.ExtendedConst: 32768 -Features.All: 65535 +Features.All: 57343 InvalidId: 0 BlockId: 1 IfId: 2 diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index f759864a8..95d1a1ed6 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -28,7 +28,7 @@ BinaryenFeatureMemory64: 2048 BinaryenFeatureTypedFunctionReferences: 4096 BinaryenFeatureRelaxedSIMD: 16384 BinaryenFeatureExtendedConst: 32768 -BinaryenFeatureAll: 65535 +BinaryenFeatureAll: 57343 (f32.neg (f32.const -33.61199951171875) ) |