summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index f58aaf0da..54e9dd142 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -1063,7 +1063,7 @@ void ArrayNewSeg::finalize() {
}
}
-void ArrayInit::finalize() {
+void ArrayNewFixed::finalize() {
for (auto* value : values) {
if (value->type == Type::unreachable) {
type = Type::unreachable;