summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-01-16 01:06:58 +0000
committerBill Wendling <isanbard@gmail.com>2010-01-16 01:06:58 +0000
commitefda1e4f0fa50fbb138bda472c8b8a2015857479 (patch)
treea3041a5a0c3893b56df678fd028514d0821e2d3a /llvm/lib
parent8a38fc33b015245a70af4e49711023849721772a (diff)
downloadbcm5719-llvm-efda1e4f0fa50fbb138bda472c8b8a2015857479.tar.gz
bcm5719-llvm-efda1e4f0fa50fbb138bda472c8b8a2015857479.zip
Temporarily revert r93581. It was causing failures in the ExecutionEngine tests
on the build bots. llvm-svn: 93606
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Allocator.cpp6
1 files changed, 2 insertions, 4 deletions
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() { }
OpenPOWER on IntegriCloud