diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-12-14 06:51:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-12-14 06:51:19 +0000 |
commit | 277381f69a7c7305d627358855975f6c0e309aa5 (patch) | |
tree | b5b4dbccb25b442bb13281ab49ba16535fa89130 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | d17e296301c2fb3c82a88fcf693b67fb5a59807d (diff) | |
download | llvm-277381f69a7c7305d627358855975f6c0e309aa5.zip llvm-277381f69a7c7305d627358855975f6c0e309aa5.tar.gz llvm-277381f69a7c7305d627358855975f6c0e309aa5.tar.bz2 |
Whitespace changes, comment clarification. No functional changes.
llvm-svn: 91274
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 80b4b0f..3b4b080 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -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; |