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 | efda1e4f0fa50fbb138bda472c8b8a2015857479 (patch) | |
| tree | a3041a5a0c3893b56df678fd028514d0821e2d3a /llvm/include | |
| parent | 8a38fc33b015245a70af4e49711023849721772a (diff) | |
| download | bcm5719-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/include')
| -rw-r--r-- | llvm/include/llvm/Support/Allocator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Allocator.h b/llvm/include/llvm/Support/Allocator.h index 496496b4c15..b0ed33d6ed5 100644 --- a/llvm/include/llvm/Support/Allocator.h +++ b/llvm/include/llvm/Support/Allocator.h @@ -128,11 +128,11 @@ class BumpPtrAllocator { /// one. void DeallocateSlabs(MemSlab *Slab); - static MallocSlabAllocator &GetDefaultSlabAllocator(); + static MallocSlabAllocator DefaultSlabAllocator; public: BumpPtrAllocator(size_t size = 4096, size_t threshold = 4096, - SlabAllocator &allocator = GetDefaultSlabAllocator()); + SlabAllocator &allocator = DefaultSlabAllocator); ~BumpPtrAllocator(); /// Reset - Deallocate all but the current slab and reset the current pointer |

