quiet compiler warning
authorJim Grosbach <grosbach@apple.com>
Wed, 14 Oct 2009 21:07:11 +0000 (21:07 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 14 Oct 2009 21:07:11 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84133 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PrologEpilogInserter.cpp

index 8793df7705fa93987456e12c6241d30da7771bb3..74cc18b915521c0cf2de00e9d2d2fe4f30eb1fbd 100644 (file)
@@ -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;