X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FAllocator.cpp;h=7c306b2370e6c30fc3e03ee6dd2ac697c228a42e;hb=12af22e8cc217827cf4f118b0f5e4ebbda9925ae;hp=ae861c8c4b60a67ef0305e61955249e79c30aa48;hpb=17f9c2e35b0f0caa44a7674347886de7c5bd05aa;p=oota-llvm.git diff --git a/lib/Support/Allocator.cpp b/lib/Support/Allocator.cpp index ae861c8c4b6..7c306b2370e 100644 --- a/lib/Support/Allocator.cpp +++ b/lib/Support/Allocator.cpp @@ -21,6 +21,8 @@ namespace llvm { +namespace detail { + void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated, size_t TotalMemory) { errs() << "\nNumber of memory regions: " << NumSlabs << '\n' @@ -30,6 +32,8 @@ void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated, << " (includes alignment, etc)\n"; } +} // End namespace detail. + void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize) {