diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-26 18:33:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-26 18:33:51 +0000 |
commit | b964f3387350184431f90f14050be943236c8fcd (patch) | |
tree | 6f470b4a38e5e04789ec9e3f92e3f0f12b5f4dd4 /lib | |
parent | 544526885b1c9784d892e8f6234136780600264e (diff) | |
download | external_llvm-b964f3387350184431f90f14050be943236c8fcd.zip external_llvm-b964f3387350184431f90f14050be943236c8fcd.tar.gz external_llvm-b964f3387350184431f90f14050be943236c8fcd.tar.bz2 |
Silence a bogus compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/PreAllocSplitting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index e99c70c..16a9e6d 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/lib/CodeGen/PreAllocSplitting.cpp @@ -1238,7 +1238,7 @@ bool PreAllocSplitting::SplitRegLiveInterval(LiveInterval *LI) { } // 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()) |