forked from OSchip/llvm-project
[NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present
Being stricter will catch issues that would be just papered over in permissive mode, and is likely faster.
This commit is contained in:
parent
f67d3dbdb9
commit
b4f519bddd
|
@ -243,7 +243,7 @@ bool DwarfEHPrepare::InsertUnwindResumeCalls() {
|
|||
new UnreachableInst(Ctx, UnwindBB);
|
||||
|
||||
if (DTU && RequireAndPreserveDomTree)
|
||||
DTU->applyUpdatesPermissive(Updates);
|
||||
DTU->applyUpdates(Updates);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue