From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- js/src/wasm/WasmValue.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/src/wasm/WasmValue.h') diff --git a/js/src/wasm/WasmValue.h b/js/src/wasm/WasmValue.h index 9a5442fc75..ddb2463883 100644 --- a/js/src/wasm/WasmValue.h +++ b/js/src/wasm/WasmValue.h @@ -371,6 +371,10 @@ using RootedValVectorN = Rooted>; [[nodiscard]] extern bool CheckAnyRefValue(JSContext* cx, HandleValue v, MutableHandleAnyRef vp); +// The same as above for when the target type is 'nullexnref'. +[[nodiscard]] extern bool CheckNullExnRefValue(JSContext* cx, HandleValue v, + MutableHandleAnyRef vp); + // The same as above for when the target type is 'nullexternref'. [[nodiscard]] extern bool CheckNullExternRefValue(JSContext* cx, HandleValue v, MutableHandleAnyRef vp); -- cgit v1.2.3