projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1485e
)
Fix build error
author
Andrew Kaylor
<andrew.kaylor@intel.com>
Wed, 20 May 2015 23:58:44 +0000
(23:58 +0000)
committer
Andrew Kaylor
<andrew.kaylor@intel.com>
Wed, 20 May 2015 23:58:44 +0000
(23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237859
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/WinEHPrepare.cpp
b/lib/CodeGen/WinEHPrepare.cpp
index 8f67d21a47d9141f0943d7655e581a31428b0aef..77ee6396bb45d36737c5179ded994196bd39a447 100644
(file)
--- a/
lib/CodeGen/WinEHPrepare.cpp
+++ b/
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());
});