summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2015-05-20 23:58:44 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2015-05-20 23:58:44 +0000
commitcafb89df1e4dc90ceb9558b2b2ce61f018004963 (patch)
tree992b9f2e3fc39dd61a8b24e230a3bf399ab6b4b0
parent5e0f425c277e1f770f5ac56e4091bbfca280ee91 (diff)
downloadbcm5719-llvm-cafb89df1e4dc90ceb9558b2b2ce61f018004963.tar.gz
bcm5719-llvm-cafb89df1e4dc90ceb9558b2b2ce61f018004963.zip
Fix build error
llvm-svn: 237859
-rw-r--r--llvm/lib/CodeGen/WinEHPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp
index 8f67d21a47d..77ee6396bb4 100644
--- a/llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/llvm/lib/CodeGen/WinEHPrepare.cpp
@@ -733,7 +733,7 @@ bool WinEHPrepare::prepareExceptionHandlers(
// 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());
});
OpenPOWER on IntegriCloud