[llvm] r235792 - Fix build error from accidental change
Andrew Kaylor
andrew.kaylor at intel.com
Fri Apr 24 16:34:46 PDT 2015
Author: akaylor
Date: Fri Apr 24 18:34:46 2015
New Revision: 235792
URL: http://llvm.org/viewvc/llvm-project?rev=235792&view=rev
Log:
Fix build error from accidental change
Modified:
llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=235792&r1=235791&r2=235792&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Fri Apr 24 18:34:46 2015
@@ -1723,8 +1723,7 @@ void WinEHPrepare::mapLandingPadBlocks(L
// 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.
More information about the llvm-commits
mailing list