1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-16 05:41:45 +00:00

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

Evan, please check that this is in fact correct.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-06-06 16:22:00 +00:00
parent b32edb4b22
commit 96dd9a8b1b

@ -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;