diff options
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h index f985e9b59..2fa117b91 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -827,7 +827,7 @@ public: Expression *condition, *ifTrue, *ifFalse; void finalize() { - if (condition) { + if (ifFalse) { type = getReachableWasmType(ifTrue->type, ifFalse->type); } } |