mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
fix another bozo bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b49a30c109
commit
1f50fc736e
@ -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())
|
||||
++PI2;
|
||||
if (PI2 != pred_end())
|
||||
return false;
|
||||
|
||||
// The predecessor has to be immediately before this block.
|
||||
|
Loading…
Reference in New Issue
Block a user