diff options
Diffstat (limited to 'lld/Common/Memory.cpp')
-rw-r--r-- | lld/Common/Memory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lld/Common/Memory.cpp b/lld/Common/Memory.cpp index 5a6ead421ec..c53e1d3e6cf 100644 --- a/lld/Common/Memory.cpp +++ b/lld/Common/Memory.cpp @@ -11,12 +11,12 @@ using namespace llvm; using namespace lld; -BumpPtrAllocator lld::BAlloc; -StringSaver lld::Saver{BAlloc}; -std::vector<SpecificAllocBase *> lld::SpecificAllocBase::Instances; +BumpPtrAllocator lld::bAlloc; +StringSaver lld::saver{bAlloc}; +std::vector<SpecificAllocBase *> lld::SpecificAllocBase::instances; void lld::freeArena() { - for (SpecificAllocBase *Alloc : SpecificAllocBase::Instances) - Alloc->reset(); - BAlloc.Reset(); + for (SpecificAllocBase *alloc : SpecificAllocBase::instances) + alloc->reset(); + bAlloc.Reset(); } |