diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-12-16 00:01:27 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-12-16 00:01:27 +0000 |
commit | 7cb7f462c39ffc68a5fe873078c2bb545c44f086 (patch) | |
tree | 9fa27e8ab00a8e20fab8fa708d90861c9ce6d719 /lib/CodeGen/BranchFolding.cpp | |
parent | 9d8b6523d77b512dc276857e3e58e1b226856445 (diff) | |
download | external_llvm-7cb7f462c39ffc68a5fe873078c2bb545c44f086.tar.gz external_llvm-7cb7f462c39ffc68a5fe873078c2bb545c44f086.tar.bz2 external_llvm-7cb7f462c39ffc68a5fe873078c2bb545c44f086.zip |
Initialize uninitialized variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 6c8e09141b..6d30f6e593 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -1274,7 +1274,7 @@ ReoptimizeBlock: // Okay, there is no really great place to put this block. If, however, // the block before this one would be a fall-through if this block were // removed, move this block to the end of the function. - MachineBasicBlock *PrevTBB, *PrevFBB; + MachineBasicBlock *PrevTBB = 0, *PrevFBB = 0; SmallVector<MachineOperand, 4> PrevCond; if (FallThrough != MF.end() && !TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) && |