Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats.

llvm-svn: 182700
This commit is contained in:
Andrew Trick 2013-05-25 01:47:42 +00:00
parent 977026c5f5
commit fc1c5fe927
1 changed files with 4 additions and 1 deletions

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