diff options
author | Heejin Ahn <aheejin@gmail.com> | 2024-02-21 11:27:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 11:27:17 -0800 |
commit | a2fa5598104f048bce744db57d4d9407473bcd14 (patch) | |
tree | 92cefe4271ab254b2a6ec5a3f5b60ef78d770a53 /src/wasm-binary.h | |
parent | 30828d4144c3bce2b2547dff3660826fbd7c307b (diff) | |
download | binaryen-a2fa5598104f048bce744db57d4d9407473bcd14.tar.gz binaryen-a2fa5598104f048bce744db57d4d9407473bcd14.tar.bz2 binaryen-a2fa5598104f048bce744db57d4d9407473bcd14.zip |
[EH] Add noexn's opcode (#6329)
We had a temporary value 0xff there, but now it is added:
https://github.com/WebAssembly/exception-handling/pull/298
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 2afa29538..b86474a8e 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -421,7 +421,7 @@ enum EncodedType { // for the moment and assign a random value to it to prevent the clash. exnref = -0xfe, #endif - nullexnref = -0xff, // TODO + nullexnref = -0xc, // 0x74 // string reference types #if STANDARD_GC_ENCODINGS stringref = -0x19, // 0x67 @@ -475,7 +475,7 @@ enum EncodedHeapType { // for the moment and assign a random value to it to prevent the clash. exn = -0xfe, #endif - noexn = -0xff, // TODO + noexn = -0xc, // 0x74 #if STANDARD_GC_ENCODINGS i31 = -0x14, // 0x6c struct_ = -0x15, // 0x6b |