From 87dc11bb4c508dd7b14a1d98841a1a9945984d82 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Fri, 24 Apr 2015 23:34:46 +0000 Subject: [PATCH] Fix build error from accidental change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235792 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/WinEHPrepare.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 20f8acd6328..1325821d498 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/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. -- 2.34.1