diff options
author | Heejin Ahn <aheejin@gmail.com> | 2023-12-08 15:03:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 15:03:09 -0800 |
commit | 1d615b38dd4152494d2f4d3520c8b1d917624a30 (patch) | |
tree | 40a32cc670c62e1fb5bdfcfda9f65d35d721956f /test/example | |
parent | 48373b66e613b7e626322b595ae6551582acc6c2 (diff) | |
download | binaryen-1d615b38dd4152494d2f4d3520c8b1d917624a30.tar.gz binaryen-1d615b38dd4152494d2f4d3520c8b1d917624a30.tar.bz2 binaryen-1d615b38dd4152494d2f4d3520c8b1d917624a30.zip |
[EH] Add exnref type back (#6149)
At the Oct hybrid CG meeting, we decided to add back `exnref`, which was
removed in 2020:
https://github.com/WebAssembly/meetings/blob/main/main/2023/CG-10.md
The new version of the proposal reflected in the explainer:
https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
While adding support for `exnref` in the current codebase which has all
GC subtype hierarchies, I noticed we might need `noexn` heap type for
the bottom type of `exn`. We don't have it now so I just set it to 0xff
for the moment.
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 2a3ecea9d..d682285d1 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -30,13 +30,13 @@ BinaryenHeapTypeEq: 3 BinaryenHeapTypeI31: 4 BinaryenHeapTypeStruct: 5 BinaryenHeapTypeArray: 6 -BinaryenHeapTypeString: 7 -BinaryenHeapTypeStringviewWTF8: 8 -BinaryenHeapTypeStringviewWTF16: 9 -BinaryenHeapTypeStringviewIter: 10 -BinaryenHeapTypeNone: 11 -BinaryenHeapTypeNoext: 12 -BinaryenHeapTypeNofunc: 13 +BinaryenHeapTypeString: 8 +BinaryenHeapTypeStringviewWTF8: 9 +BinaryenHeapTypeStringviewWTF16: 10 +BinaryenHeapTypeStringviewIter: 11 +BinaryenHeapTypeNone: 12 +BinaryenHeapTypeNoext: 13 +BinaryenHeapTypeNofunc: 14 BinaryenFeatureMVP: 0 BinaryenFeatureAtomics: 1 BinaryenFeatureBulkMemory: 16 |