From ba3500e4d2f7a8646ea0f5a1acfaed832f8e062e Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Sat, 25 May 2013 01:47:42 +0000 Subject: [PATCH] Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182700 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/RecyclingAllocator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/llvm/Support/RecyclingAllocator.h b/include/llvm/Support/RecyclingAllocator.h index 34ab874778c..f67503f6fb7 100644 --- a/include/llvm/Support/RecyclingAllocator.h +++ b/include/llvm/Support/RecyclingAllocator.h @@ -51,7 +51,10 @@ public: template void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } - void PrintStats() { Base.PrintStats(); } + void PrintStats() { + Allocator.PrintStats(); + Base.PrintStats(); + } }; } -- 2.34.1