From: Owen Anderson Date: Wed, 6 Jun 2007 16:22:00 +0000 (+0000) Subject: Quick patch to fix the build, based on what it appears Evan meant to write. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=96dd9a8b1b969ece5504559ec240930bcb1dddd9;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index 05e66970c78..b49a0a6c4a7 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -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;