aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-06-14 21:26:08 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-06-14 21:26:08 +0000
commitb7c908bb81fe4336f60c03802dade7c24a02e619 (patch)
tree2771c2164f8242ae61c284ecbb485dd87e574322 /lib/CodeGen/IfConversion.cpp
parentc101e95cb6aae1fd6a0727ba4b518a7894ae3089 (diff)
downloadexternal_llvm-b7c908bb81fe4336f60c03802dade7c24a02e619.zip
external_llvm-b7c908bb81fe4336f60c03802dade7c24a02e619.tar.gz
external_llvm-b7c908bb81fe4336f60c03802dade7c24a02e619.tar.bz2
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index 40a7143..87340d3 100644
--- a/lib/CodeGen/IfConversion.cpp
+++ b/lib/CodeGen/IfConversion.cpp
@@ -383,7 +383,7 @@ void IfConverter::ScanInstructions(BBInfo &BBI) {
return;
// First analyze the end of BB branches.
- BBI.TrueBB = BBI.FalseBB;
+ BBI.TrueBB = BBI.FalseBB = NULL;
BBI.BrCond.clear();
BBI.IsBrAnalyzable =
!TII->AnalyzeBranch(*BBI.BB, BBI.TrueBB, BBI.FalseBB, BBI.BrCond);