[llvm-commits] [compiler-rt] r169514 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h
Kostya Serebryany
kcc at google.com
Thu Dec 6 08:22:04 PST 2012
Author: kcc
Date: Thu Dec 6 10:22:04 2012
New Revision: 169514
URL: http://llvm.org/viewvc/llvm-project?rev=169514&view=rev
Log:
[sanitizer] POD-ify the allocator cache
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h?rev=169514&r1=169513&r2=169514&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h Thu Dec 6 10:22:04 2012
@@ -97,8 +97,7 @@
AllocatorListNode *next;
};
-class AllocatorFreeList: public IntrusiveList<AllocatorListNode> {
- public:
+struct AllocatorFreeList: IntrusiveList<AllocatorListNode> {
// Move at most max_count chunks to other_free_list.
void BulkAllocate(uptr max_count, AllocatorFreeList *other_free_list) {
CHECK(!empty());
More information about the llvm-commits
mailing list