aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-16 00:00:18 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-16 00:00:18 +0000
commit408e9d166a66c8891637975921de2980c1940c3f (patch)
tree389074d65cf6c3df935e1753ebce8299a92c29bb /lib/CodeGen/BranchFolding.cpp
parent32d7e6ebde29faeea75ecb718b4281414b0eea0b (diff)
downloadexternal_llvm-408e9d166a66c8891637975921de2980c1940c3f.zip
external_llvm-408e9d166a66c8891637975921de2980c1940c3f.tar.gz
external_llvm-408e9d166a66c8891637975921de2980c1940c3f.tar.bz2
Initialize uninitialized variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 3887e6d..6c8e091 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/lib/CodeGen/BranchFolding.cpp
@@ -1222,7 +1222,7 @@ ReoptimizeBlock:
// Analyze the branch at the end of the pred.
MachineBasicBlock *PredBB = *PI;
MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
- MachineBasicBlock *PredTBB, *PredFBB;
+ MachineBasicBlock *PredTBB = 0, *PredFBB = 0;
SmallVector<MachineOperand, 4> PredCond;
if (PredBB != MBB && !PredBB->canFallThrough() &&
!TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)