summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-10-14 21:07:11 +0000
committerJim Grosbach <grosbach@apple.com>2009-10-14 21:07:11 +0000
commit02f5588f62f30e1fac0bb2c222e3bb5b028afd81 (patch)
tree5d119e6e416dfdad939868a898ca188b5fc3518a
parent1396b3f3686d3d62fb80f2a1a31248bb51c3e0ee (diff)
downloadbcm5719-llvm-02f5588f62f30e1fac0bb2c222e3bb5b028afd81.tar.gz
bcm5719-llvm-02f5588f62f30e1fac0bb2c222e3bb5b028afd81.zip
quiet compiler warning
llvm-svn: 84133
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index 8793df7705f..74cc18b9155 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -767,7 +767,7 @@ void PEI::scavengeFrameVirtualRegs(MachineFunction &Fn) {
unsigned CurrentScratchReg = 0;
bool havePrevValue = false;
unsigned PrevScratchReg = 0;
- int PrevValue;
+ int PrevValue = 0;
MachineInstr *PrevLastUseMI = NULL;
unsigned PrevLastUseOp = 0;
bool trackingCurrentValue = false;
OpenPOWER on IntegriCloud