Fix build error from accidental change
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 24 Apr 2015 23:34:46 +0000 (23:34 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 24 Apr 2015 23:34:46 +0000 (23:34 +0000)
llvm-svn: 235792

llvm/lib/CodeGen/WinEHPrepare.cpp

index 20f8acd..1325821 100644 (file)
@@ -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.