OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b49a30c
)
fix another bozo bug
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Aug 2009 04:34:36 +0000
(
04:34
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Aug 2009 04:34:36 +0000
(
04:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineBasicBlock.cpp
b/lib/CodeGen/MachineBasicBlock.cpp
index
f261674
..
854f266
100644
(file)
--- a/
lib/CodeGen/MachineBasicBlock.cpp
+++ b/
lib/CodeGen/MachineBasicBlock.cpp
@@
-139,8
+139,8
@@
bool MachineBasicBlock::isOnlyReachableByFallthrough() const {
// If there isn't exactly one predecessor, it can't be a fall through.
const_pred_iterator PI = pred_begin(), PI2 = PI;
- ++PI;
- if (PI != pred_end())
+ ++PI
2
;
+ if (PI
2
!= pred_end())
return false;
// The predecessor has to be immediately before this block.