You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[mono][interp] Link try bblock with leave targets from catch block
Otherwise SSA dominance algorithms may fail to detect certain code flow and incorrectly manage phi nodes.
public bool M() {
bool ret = true;
try {
// throw NULL
} catch (NullReferenceException) {
goto Label;
}
ret = false;
Label:
return ret;
}
Without this fix, given the SSA cfg doesn't include EH bblocks, we would see the return opcode always reachable through the fallthrough from `ret = false`.
0 commit comments