From 81f8f770a1b2adc027cbbbd981781d2ee6952e54 Mon Sep 17 00:00:00 2001 From: Jérôme Vouillon Date: Mon, 8 Jul 2024 16:23:00 -0400 Subject: Rename external conversion instructions (#6716) Rename instructions `extern.internalize` into `any.convert_extern` and `extern.externalize` into `extern.convert_any` to follow more closely the spec. This was changed in https://github.com/WebAssembly/gc/issues/432. The legacy name is still accepted in text inputs and in the C and JS APIs. --- src/wasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm.h') diff --git a/src/wasm.h b/src/wasm.h index ebb5a04f6..4a4ed561f 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -561,8 +561,8 @@ enum SIMDTernaryOp { enum RefAsOp { RefAsNonNull, - ExternInternalize, - ExternExternalize, + AnyConvertExtern, + ExternConvertAny, }; enum BrOnOp { -- cgit v1.2.3