[llvm-commits] [llvm] r84133 - /llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Jim Grosbach
grosbach at apple.com
Wed Oct 14 14:07:11 PDT 2009
Author: grosbach
Date: Wed Oct 14 16:07:11 2009
New Revision: 84133
URL: http://llvm.org/viewvc/llvm-project?rev=84133&view=rev
Log:
quiet compiler warning
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp?rev=84133&r1=84132&r2=84133&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp (original)
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Wed Oct 14 16:07:11 2009
@@ -767,7 +767,7 @@
unsigned CurrentScratchReg = 0;
bool havePrevValue = false;
unsigned PrevScratchReg = 0;
- int PrevValue;
+ int PrevValue = 0;
MachineInstr *PrevLastUseMI = NULL;
unsigned PrevLastUseOp = 0;
bool trackingCurrentValue = false;
More information about the llvm-commits
mailing list