[llvm] r182700 - Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats.
Andrew Trick
atrick at apple.com
Fri May 24 18:47:42 PDT 2013
Author: atrick
Date: Fri May 24 20:47:42 2013
New Revision: 182700
URL: http://llvm.org/viewvc/llvm-project?rev=182700&view=rev
Log:
Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats.
Modified:
llvm/trunk/include/llvm/Support/RecyclingAllocator.h
Modified: llvm/trunk/include/llvm/Support/RecyclingAllocator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/RecyclingAllocator.h?rev=182700&r1=182699&r2=182700&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/RecyclingAllocator.h (original)
+++ llvm/trunk/include/llvm/Support/RecyclingAllocator.h Fri May 24 20:47:42 2013
@@ -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();
+ }
};
}
More information about the llvm-commits
mailing list