projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077b2bf
)
Fixing a build error
author
Andrew Kaylor
<andrew.kaylor@intel.com>
Fri, 3 Apr 2015 19:55:30 +0000
(19:55 +0000)
committer
Andrew Kaylor
<andrew.kaylor@intel.com>
Fri, 3 Apr 2015 19:55:30 +0000
(19:55 +0000)
llvm-svn: 234045
llvm/lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/WinEHPrepare.cpp
b/llvm/lib/CodeGen/WinEHPrepare.cpp
index
cc225a5
..
2601d7a
100644
(file)
--- a/
llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/
llvm/lib/CodeGen/WinEHPrepare.cpp
@@
-875,7
+875,7
@@
bool WinEHPrepare::outlineHandler(ActionHandler *Action, Function *SrcFn,
// save the association of the blocks in LPadTargetBlocks. The
// return instructions which are created from these branches will be
// replaced after all landing pads have been outlined.
- for (auto &MapEntry : VMap) {
+ for (
const
auto &MapEntry : VMap) {
// VMap maps all values and blocks that were just cloned, but dead
// blocks which were pruned will map to nullptr.
if (!isa<BasicBlock>(MapEntry.first) || MapEntry.second == nullptr)