Quick patch to fix the build, based on what it appears Evan meant to write.

Evan, please check that this is in fact correct.

llvm-svn: 37471
This commit is contained in:
Owen Anderson 2007-06-06 16:22:00 +00:00
parent 29d1dc6f1a
commit cfb6f40424
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI) {
// Transfer preds / succs and update size.
TransferPreds(ToBBI.BB, FromBBI.BB);
if (!blockFallsThrough(FromBBI.BB))
if (!blockFallsThrough(FromBBI))
TransferSuccs(ToBBI.BB, FromBBI.BB);
ToBBI.NonPredSize += FromBBI.NonPredSize;
FromBBI.NonPredSize = 0;