diff options
| author | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-05-20 23:58:44 +0000 |
|---|---|---|
| committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-05-20 23:58:44 +0000 |
| commit | cafb89df1e4dc90ceb9558b2b2ce61f018004963 (patch) | |
| tree | 992b9f2e3fc39dd61a8b24e230a3bf399ab6b4b0 /llvm/lib/CodeGen | |
| parent | 5e0f425c277e1f770f5ac56e4091bbfca280ee91 (diff) | |
| download | bcm5719-llvm-cafb89df1e4dc90ceb9558b2b2ce61f018004963.tar.gz bcm5719-llvm-cafb89df1e4dc90ceb9558b2b2ce61f018004963.zip | |
Fix build error
llvm-svn: 237859
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 2 |
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()); }); |

