[llvm-commits] [llvm] r63021 - /llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jan 26 10:33:51 PST 2009
Author: evancheng
Date: Mon Jan 26 12:33:51 2009
New Revision: 63021
URL: http://llvm.org/viewvc/llvm-project?rev=63021&view=rev
Log:
Silence a bogus compiler warning.
Modified:
llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Modified: llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp?rev=63021&r1=63020&r2=63021&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp Mon Jan 26 12:33:51 2009
@@ -1238,7 +1238,7 @@
}
// Find a point to restore the value after the barrier.
- unsigned RestoreIndex;
+ unsigned RestoreIndex = 0;
MachineBasicBlock::iterator RestorePt =
findRestorePoint(BarrierMBB, Barrier, LR->end, RefsInMBB, RestoreIndex);
if (RestorePt == BarrierMBB->end())
More information about the llvm-commits
mailing list