diff options
author | Lang Hames <lhames@gmail.com> | 2009-11-04 21:24:15 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-11-04 21:24:15 +0000 |
commit | 0368e500eb7f5f03313e1a7af5b8fa48465c0560 (patch) | |
tree | 6233afaa0b66e09301657a0f269b3daac139c956 /lib/CodeGen/SlotIndexes.cpp | |
parent | 7127b13342f25a1fa06ed2c6f81891d3613df3fd (diff) | |
download | llvm-0368e500eb7f5f03313e1a7af5b8fa48465c0560.tar.gz llvm-0368e500eb7f5f03313e1a7af5b8fa48465c0560.tar.bz2 llvm-0368e500eb7f5f03313e1a7af5b8fa48465c0560.tar.xz |
Handle empty/tombstone keys for LiveIndex more cleanly. Check for index sanity when constructing index list entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SlotIndexes.cpp')
-rw-r--r-- | lib/CodeGen/SlotIndexes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SlotIndexes.cpp b/lib/CodeGen/SlotIndexes.cpp index 6b04029fba..f3ad0d1cc0 100644 --- a/lib/CodeGen/SlotIndexes.cpp +++ b/lib/CodeGen/SlotIndexes.cpp @@ -16,8 +16,8 @@ using namespace llvm; -std::auto_ptr<IndexListEntry> SlotIndex::emptyKeyPtr(0), - SlotIndex::tombstoneKeyPtr(0); +std::auto_ptr<IndexListEntry> IndexListEntry::emptyKeyEntry, + IndexListEntry::tombstoneKeyEntry; char SlotIndexes::ID = 0; static RegisterPass<SlotIndexes> X("slotindexes", "Slot index numbering"); |