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:
621d157
)
Remove unused variable
author
Scott Michel
<scottm@aero.org>
Thu, 17 Apr 2008 01:30:44 +0000
(
01:30
+0000)
committer
Scott Michel
<scottm@aero.org>
Thu, 17 Apr 2008 01:30:44 +0000
(
01:30
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49838
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/BreakCriticalEdges.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/BreakCriticalEdges.cpp
b/lib/Transforms/Utils/BreakCriticalEdges.cpp
index 1ff92a8d03276c75777c443671cc31946113dbea..bbea26936c857a5b645e20252572954cd54759a7 100644
(file)
--- a/
lib/Transforms/Utils/BreakCriticalEdges.cpp
+++ b/
lib/Transforms/Utils/BreakCriticalEdges.cpp
@@
-104,7
+104,6
@@
bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
// If AllowIdenticalEdges is true, then we allow this edge to be considered
// non-critical iff all preds come from TI's block.
while (I != E) {
- pred_const_iterator E1 = E;
if (*I != FirstPred)
return true;
// Note: leave this as is until no one ever compiles with either gcc 4.0.1