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 | c5b7b196770f8c3c83e4ec06c0f2a1f53b623b6f (patch) | |
tree | ba65297342571a3751d76ebcd9b4e025c365d09d /lib/Support/Allocator.cpp | |
parent | 8570f594adc8e0795d0c5fd3e531790f6fac1821 (diff) | |
download | llvm-c5b7b196770f8c3c83e4ec06c0f2a1f53b623b6f.tar.gz llvm-c5b7b196770f8c3c83e4ec06c0f2a1f53b623b6f.tar.bz2 llvm-c5b7b196770f8c3c83e4ec06c0f2a1f53b623b6f.tar.xz |
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 19d69f6f94..31b45c8d4a 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() { } |