forked from OSchip/llvm-project
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:
parent
29d1dc6f1a
commit
cfb6f40424
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue