projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725e3d3
)
Fix RecyclingAllocator::PrintStats to print the underlying allocator's stats.
author
Andrew Trick
<atrick@apple.com>
Sat, 25 May 2013 01:47:42 +0000
(
01:47
+0000)
committer
Andrew Trick
<atrick@apple.com>
Sat, 25 May 2013 01:47:42 +0000
(
01:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182700
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/RecyclingAllocator.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/RecyclingAllocator.h
b/include/llvm/Support/RecyclingAllocator.h
index 34ab874778c912bc7fba98459c5fd0f189138509..f67503f6fb7ada7516f77ac3c3e4304cc3d75740 100644
(file)
--- 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();
+ }
};
}