We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if(false)
else
1 parent 9571958 commit 2968d12Copy full SHA for 2968d12
crates/wasmi/src/engine/translator/func2/mod.rs
@@ -972,7 +972,7 @@ impl FuncTranslator {
972
let IfReachability::Both { else_label } = frame.reachability() else {
973
let is_end_reachable = match frame.reachability() {
974
IfReachability::OnlyThen => self.reachable,
975
- IfReachability::OnlyElse => false,
+ IfReachability::OnlyElse => true,
976
IfReachability::Both { .. } => unreachable!(),
977
};
978
return self.translate_end_if_or_else_only(frame, is_end_reachable);
0 commit comments