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. --- src/wasm/wasm-stack.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/wasm/wasm-stack.cpp') diff --git a/src/wasm/wasm-stack.cpp b/src/wasm/wasm-stack.cpp index 176f2f53f..8afeb6779 100644 --- a/src/wasm/wasm-stack.cpp +++ b/src/wasm/wasm-stack.cpp @@ -188,7 +188,6 @@ void BinaryInstWriter::visitLoad(Load* curr) { // a load return; case Type::funcref: - case Type::externref: case Type::anyref: case Type::eqref: case Type::i31ref: @@ -292,7 +291,6 @@ void BinaryInstWriter::visitStore(Store* curr) { << U32LEB(BinaryConsts::V128Store); break; case Type::funcref: - case Type::externref: case Type::anyref: case Type::eqref: case Type::i31ref: @@ -748,7 +746,6 @@ void BinaryInstWriter::visitConst(Const* curr) { break; } case Type::funcref: - case Type::externref: case Type::anyref: case Type::eqref: case Type::i31ref: -- cgit v1.2.3