mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Update some globals to use ManagedStatic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -16,8 +16,10 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
std::auto_ptr<IndexListEntry> IndexListEntry::emptyKeyEntry,
|
||||
IndexListEntry::tombstoneKeyEntry;
|
||||
|
||||
// Yep - these are thread safe. See the header for details.
|
||||
ManagedStatic<EmptyIndexListEntry> IndexListEntry::emptyKeyEntry;
|
||||
ManagedStatic<TombstoneIndexListEntry> IndexListEntry::tombstoneKeyEntry;
|
||||
|
||||
char SlotIndexes::ID = 0;
|
||||
static RegisterPass<SlotIndexes> X("slotindexes", "Slot index numbering");
|
||||
|
Reference in New Issue
Block a user