diff options
author | Andrew Trick <atrick@apple.com> | 2013-05-25 01:47:42 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-05-25 01:47:42 +0000 |
commit | ba3500e4d2f7a8646ea0f5a1acfaed832f8e062e (patch) | |
tree | 20343633cd6bd8378fe21761b841b6e1307086c5 | |
parent | 725e3d324bae8259dadc669b89a87997da61ab14 (diff) | |
download | external_llvm-ba3500e4d2f7a8646ea0f5a1acfaed832f8e062e.tar.gz external_llvm-ba3500e4d2f7a8646ea0f5a1acfaed832f8e062e.tar.bz2 external_llvm-ba3500e4d2f7a8646ea0f5a1acfaed832f8e062e.zip |
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
-rw-r--r-- | include/llvm/Support/RecyclingAllocator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/RecyclingAllocator.h b/include/llvm/Support/RecyclingAllocator.h index 34ab874778..f67503f6fb 100644 --- a/include/llvm/Support/RecyclingAllocator.h +++ b/include/llvm/Support/RecyclingAllocator.h @@ -51,7 +51,10 @@ public: template<class SubClass> void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } - void PrintStats() { Base.PrintStats(); } + void PrintStats() { + Allocator.PrintStats(); + Base.PrintStats(); + } }; } |