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:
222bd53
)
Do not use BasicBlock::succ_iterator
author
Chris Lattner
<sabre@nondot.org>
Wed, 24 Sep 2003 22:03:22 +0000
(22:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 24 Sep 2003 22:03:22 +0000
(22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8700
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/BasicBlock.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/BasicBlock.cpp
b/lib/VMCore/BasicBlock.cpp
index ac97ed386e1d4290217e1da89c70163bf687f9b5..c15ce24ce6552c3a83cd51d26ba6b7a2ccc9b1ec 100644
(file)
--- a/
lib/VMCore/BasicBlock.cpp
+++ b/
lib/VMCore/BasicBlock.cpp
@@
-241,8
+241,7
@@
BasicBlock *BasicBlock::splitBasicBlock(iterator I, const std::string &BBName) {
// successors. If there were PHI nodes in the successors, then they need to
// know that incoming branches will be from New, not from Old.
//
- for (BasicBlock::succ_iterator I = succ_begin(New), E = succ_end(New);
- I != E; ++I) {
+ for (succ_iterator I = succ_begin(New), E = succ_end(New); I != E; ++I) {
// Loop over any phi nodes in the basic block, updating the BB field of
// incoming values...
BasicBlock *Successor = *I;