From 90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Thu, 31 Aug 2023 14:32:33 -0500 Subject: Remove the GCNNLocals feature (#5080) Now that the WasmGC spec has settled on a way of validating non-nullable locals, we no longer need this experimental feature that allowed nonstandard uses of non-nullable locals. --- src/wasm/wasm-binary.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/wasm/wasm-binary.cpp') diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 011957cd3..7a0a08885 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -2627,9 +2627,7 @@ void WasmBinaryReader::readFunctions() { } } - if (!wasm.features.hasGCNNLocals()) { - TypeUpdating::handleNonDefaultableLocals(func, wasm); - } + TypeUpdating::handleNonDefaultableLocals(func, wasm); std::swap(func->epilogLocation, debugLocation); currFunction = nullptr; -- cgit v1.2.3