summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index d6bdfe91f..ca3c8e5f5 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1027,6 +1027,8 @@ public:
void finalize() {
if (condition) {
type = none;
+ } else {
+ type = unreachable;
}
}
};