From 60e602896e82e988e4fcbfac74aa9639b4ac8814 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 3 May 2022 18:08:09 -0700 Subject: Remove externref (#4633) Remove `Type::externref` and `HeapType::ext` and replace them with uses of anyref and any, respectively, now that we have unified these types in the GC proposal. For backwards compatibility, continue to parse `extern` and `externref` and maintain their relevant C API functions. --- test/binaryen.js/kitchen-sink.js.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/binaryen.js') diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index 3ea3f11a9..70be70e61 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -16,14 +16,14 @@ // 7 // BinaryenTypeExternref: 8 // 8 - // BinaryenTypeAnyref: 9 + // BinaryenTypeAnyref: 8 + // 8 + // BinaryenTypeEqref: 9 // 9 - // BinaryenTypeEqref: 10 + // BinaryenTypeI31ref: 10 // 10 - // BinaryenTypeI31ref: 11 + // BinaryenTypeDataref: 11 // 11 - // BinaryenTypeDataref: 12 - // 12 // BinaryenTypeAuto: -1 // 2,2 // 2,2 @@ -2070,7 +2070,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} ) (drop (ref.is_null - (ref.null extern) + (ref.null any) ) ) (drop @@ -2165,7 +2165,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop funcref) ) (drop - (pop externref) + (pop anyref) ) (drop (pop anyref) @@ -4162,7 +4162,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} ) (drop (ref.is_null - (ref.null extern) + (ref.null any) ) ) (drop @@ -4257,7 +4257,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop funcref) ) (drop - (pop externref) + (pop anyref) ) (drop (pop anyref) -- cgit v1.2.3