summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 7cf8b4043..4e94da090 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -795,7 +795,7 @@ public:
// minimal contents. as a replacement, this may reuse the
// input node
template<typename T> Expression* replaceWithIdenticalType(T* curr) {
- if (curr->type.isMulti()) {
+ if (curr->type.isTuple()) {
return makeConstantExpression(Literal::makeZero(curr->type));
}
Literal value;