aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit776ef4dd325b76f28edcb41e418b808acae1814e (patch)
tree9df07340b2f3070d81249a0718d022b62e96ff38 /llvm/lib/CodeGen/BranchFolding.cpp
parente8d28904b096d72a108fdf1f07ea7546b22f8102 (diff)
downloadllvm-776ef4dd325b76f28edcb41e418b808acae1814e.zip
llvm-776ef4dd325b76f28edcb41e418b808acae1814e.tar.gz
llvm-776ef4dd325b76f28edcb41e418b808acae1814e.tar.bz2
Initialize uninitialized variables.
llvm-svn: 91475
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 3887e6d..6c8e091 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/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)