From a2fa5598104f048bce744db57d4d9407473bcd14 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Wed, 21 Feb 2024 11:27:17 -0800 Subject: [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 --- src/wasm-binary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm-binary.h') 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 -- cgit v1.2.3