summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-08-31 14:32:33 -0500
committerGitHub <noreply@github.com>2023-08-31 12:32:33 -0700
commit90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da (patch)
tree02c201b1afd2de7f8237adc3737734e19b77cd2b /src/wasm/wasm-binary.cpp
parent5bfb19239a15fec2d2ce44606d7c6e2b821302e1 (diff)
downloadbinaryen-90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da.tar.gz
binaryen-90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da.tar.bz2
binaryen-90d8185ba2be34fa6b6a8f8ce0cbb87e0a9ed0da.zip
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.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
-rw-r--r--src/wasm/wasm-binary.cpp4
1 files changed, 1 insertions, 3 deletions
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;