diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-01-16 01:06:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-01-16 01:06:58 +0000 |
commit | e6c8b95889233e1cb757a192b9e3c8a4e972aec6 (patch) | |
tree | ba65297342571a3751d76ebcd9b4e025c365d09d /lib/Support/Allocator.cpp | |
parent | 178a9327613d2434019762932a94c72d2302bb60 (diff) | |
download | external_llvm-e6c8b95889233e1cb757a192b9e3c8a4e972aec6.zip external_llvm-e6c8b95889233e1cb757a192b9e3c8a4e972aec6.tar.gz external_llvm-e6c8b95889233e1cb757a192b9e3c8a4e972aec6.tar.bz2 |
Temporarily revert r93581. It was causing failures in the ExecutionEngine tests
on the build bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Allocator.cpp')
-rw-r--r-- | lib/Support/Allocator.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Support/Allocator.cpp b/lib/Support/Allocator.cpp index 19d69f6..31b45c8 100644 --- a/lib/Support/Allocator.cpp +++ b/lib/Support/Allocator.cpp @@ -142,10 +142,8 @@ void BumpPtrAllocator::PrintStats() const { << " (includes alignment, etc)\n"; } -MallocSlabAllocator &BumpPtrAllocator::GetDefaultSlabAllocator() { - static MallocSlabAllocator DefaultSlabAllocator; - return DefaultSlabAllocator; -} +MallocSlabAllocator BumpPtrAllocator::DefaultSlabAllocator = + MallocSlabAllocator(); SlabAllocator::~SlabAllocator() { } |