diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-04-24 23:34:46 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-04-24 23:34:46 +0000 |
commit | 8c384bbb3563a2a62fc19cf6044b1effd69e19db (patch) | |
tree | 207bd23c97763702bfbb5672ff9a1e75607594e5 /llvm/lib/CodeGen/WinEHPrepare.cpp | |
parent | 8c794112034ebd20f9307e77988ab0cd46692527 (diff) | |
download | bcm5719-llvm-8c384bbb3563a2a62fc19cf6044b1effd69e19db.tar.gz bcm5719-llvm-8c384bbb3563a2a62fc19cf6044b1effd69e19db.zip |
Fix build error from accidental change
llvm-svn: 235792
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index 20f8acd6328..1325821d498 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -1723,8 +1723,7 @@ void WinEHPrepare::mapLandingPadBlocks(LandingPadInst *LPad, // exceptions but code called from catches can. For SEH, it isn't // important if some finally code before a catch-all is executed out of // line or after recovering from the exception. - if (Personality == EHPersonality::MSVC_CXX && LPad->isCleanup() && - !Actions->includesCleanup()) + if (Personality == EHPersonality::MSVC_CXX) findCleanupHandlers(Actions, BB, BB); // Add the catch handler to the action list. |