diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2019-04-02 01:05:48 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2019-04-02 01:05:48 +0000 |
commit | c0ebfbe3f3215e15ff5d6b69218576ec07317821 (patch) | |
tree | e7068a18e1dd05d952bda02898b0bcee03e0618b /llvm/lib/CodeGen | |
parent | 536383a3548acb8664748da6698baa9d4c4c8e44 (diff) | |
download | bcm5719-llvm-c0ebfbe3f3215e15ff5d6b69218576ec07317821.tar.gz bcm5719-llvm-c0ebfbe3f3215e15ff5d6b69218576ec07317821.zip |
Add an optional list of blocks to avoid when looking for a path in isPotentiallyReachable.
The leads to some ambiguous overloads, so update three callers.
Differential Revision: https://reviews.llvm.org/D60085
llvm-svn: 357447
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/DwarfEHPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index 6b36a93c62c..ddd6cec5a17 100644 --- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp +++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp @@ -145,7 +145,7 @@ size_t DwarfEHPrepare::pruneUnreachableResumes( size_t ResumeIndex = 0; for (auto *RI : Resumes) { for (auto *LP : CleanupLPads) { - if (isPotentiallyReachable(LP, RI, DT)) { + if (isPotentiallyReachable(LP, RI, nullptr, DT)) { ResumeReachable.set(ResumeIndex); break; } |