[llvm] r237859 - Fix build error
Andrew Kaylor
andrew.kaylor at intel.com
Wed May 20 16:58:44 PDT 2015
Author: akaylor
Date: Wed May 20 18:58:44 2015
New Revision: 237859
URL: http://llvm.org/viewvc/llvm-project?rev=237859&view=rev
Log:
Fix build error
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=237859&r1=237858&r2=237859&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Wed May 20 18:58:44 2015
@@ -733,7 +733,7 @@ bool WinEHPrepare::prepareExceptionHandl
// outline the landing pad which encloses it.
if (!isAsynchronousEHPersonality(Personality))
std::sort(LPads.begin(), LPads.end(),
- [this](LandingPadInst* &L, LandingPadInst* &R) {
+ [this](LandingPadInst* const &L, LandingPadInst* const &R) {
return DT->dominates(R->getParent(), L->getParent());
});
More information about the llvm-commits
mailing list