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 | fc1c5fe9270c907e32feabf80deda0f8a30032a2 (patch) | |
| tree | a21cbfff01dd73efc178b8ade9667b9d19eb71eb /llvm | |
| parent | 977026c5f5233f1085a060e770951ac324b1e04d (diff) | |
| download | bcm5719-llvm-fc1c5fe9270c907e32feabf80deda0f8a30032a2.tar.gz bcm5719-llvm-fc1c5fe9270c907e32feabf80deda0f8a30032a2.zip | |
Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats.
llvm-svn: 182700
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/RecyclingAllocator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/RecyclingAllocator.h b/llvm/include/llvm/Support/RecyclingAllocator.h index 34ab874778c..f67503f6fb7 100644 --- a/llvm/include/llvm/Support/RecyclingAllocator.h +++ b/llvm/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(); + } }; } |

