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 | 72287a599fa229d76bf1a1adfc75b02e7bc8d095 (patch) | |
tree | 1a9e999fb4b5f741faacd8236ada01d6b7905c65 | |
parent | 0c8d060715d1099fe06a4b74a058a7862c22329a (diff) | |
download | bcm5719-llvm-72287a599fa229d76bf1a1adfc75b02e7bc8d095.tar.gz bcm5719-llvm-72287a599fa229d76bf1a1adfc75b02e7bc8d095.zip |
Silence a bogus compiler warning.
llvm-svn: 63021
-rw-r--r-- | llvm/lib/CodeGen/PreAllocSplitting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp index e99c70c1642..16a9e6d9b04 100644 --- a/llvm/lib/CodeGen/PreAllocSplitting.cpp +++ b/llvm/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()) |