summaryrefslogtreecommitdiff
path: root/src/tools/wasm-reduce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-reduce.cpp')
-rw-r--r--src/tools/wasm-reduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp
index 6ba5c5b83..675d5a025 100644
--- a/src/tools/wasm-reduce.cpp
+++ b/src/tools/wasm-reduce.cpp
@@ -1015,7 +1015,7 @@ struct Reducer
}
if (curr->type.isMulti()) {
Expression* n =
- builder->makeConstExpression(Literal::makeZero(curr->type));
+ builder->makeConstantExpression(Literal::makeZero(curr->type));
return tryToReplaceCurrent(n);
}
Const* c = builder->makeConst(Literal(int32_t(0)));