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:
455c3d8
)
Fix build warning.
author
Craig Topper
<craig.topper@gmail.com>
Sat, 5 Sep 2015 04:49:44 +0000
(
04:49
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 5 Sep 2015 04:49:44 +0000
(
04:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246908
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index
3fd8c81
..
0277ed3
100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-2992,7
+2992,7
@@
bool SimplifyCFGOpt::SimplifyCleanupReturn(CleanupReturnInst *RI) {
int Idx = DestPN->getBasicBlockIndex(BB);
// Since BB unwinds to UnwindDest, it has to be in the PHI node.
- assert(Idx != -1
U
);
+ assert(Idx != -1);
// This PHI node has an incoming value that corresponds to a control
// path through the cleanup pad we are removing. If the incoming
// value is in the cleanup pad, it must be a PHINode (because we