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
This commit is contained in:
Andrew Trick 2013-05-25 01:47:42 +00:00
parent 725e3d324b
commit ba3500e4d2

View File

@ -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();
}
};
}