From efda1e4f0fa50fbb138bda472c8b8a2015857479 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 16 Jan 2010 01:06:58 +0000 Subject: Temporarily revert r93581. It was causing failures in the ExecutionEngine tests on the build bots. llvm-svn: 93606 --- llvm/lib/Support/Allocator.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/Allocator.cpp b/llvm/lib/Support/Allocator.cpp index 19d69f6f944..31b45c8d4aa 100644 --- a/llvm/lib/Support/Allocator.cpp +++ b/llvm/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() { } -- cgit v1.2.3