From 1da76428372e0433042526f3dec7e7225a825f16 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Wed, 21 Feb 2024 08:27:30 +0000 Subject: [PATCH] [EH] Add noexn's opcode 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(-) diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 2afa2953834..b86474a8e51 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