[llvm-commits] [llvm] r83132 - /llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Jim Grosbach
grosbach at apple.com
Tue Sep 29 17:37:41 PDT 2009
Author: grosbach
Date: Tue Sep 29 19:37:40 2009
New Revision: 83132
URL: http://llvm.org/viewvc/llvm-project?rev=83132&view=rev
Log:
fix 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=83132&r1=83131&r2=83132&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp (original)
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Tue Sep 29 19:37:40 2009
@@ -739,7 +739,7 @@
RS->enterBasicBlock(BB);
unsigned CurrentVirtReg = 0;
- unsigned CurrentScratchReg;
+ unsigned CurrentScratchReg = 0;
for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I) {
MachineInstr *MI = I;
More information about the llvm-commits
mailing list