mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Whitespace changes, comment clarification. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -483,16 +483,16 @@ bool MachineBasicBlock::CorrectExtraCFGEdges(MachineBasicBlock *DestA,
|
||||
MachineFunction::iterator FallThru =
|
||||
llvm::next(MachineFunction::iterator(this));
|
||||
|
||||
// If this block ends with a conditional branch that falls through to its
|
||||
// successor, set DestB as the successor.
|
||||
if (isCond) {
|
||||
// If this block ends with a conditional branch that falls through to its
|
||||
// successor, set DestB as the successor.
|
||||
if (DestB == 0 && FallThru != getParent()->end()) {
|
||||
DestB = FallThru;
|
||||
AddedFallThrough = true;
|
||||
}
|
||||
} else {
|
||||
// If this is an unconditional branch with no explicit dest, it must just be
|
||||
// a fallthrough into DestB.
|
||||
// a fallthrough into DestA.
|
||||
if (DestA == 0 && FallThru != getParent()->end()) {
|
||||
DestA = FallThru;
|
||||
AddedFallThrough = true;
|
||||
|
Reference in New Issue
Block a user