OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef HeapAllocator_h | 5 #ifndef HeapAllocator_h |
6 #define HeapAllocator_h | 6 #define HeapAllocator_h |
7 | 7 |
8 #include "platform/heap/Heap.h" | 8 #include "platform/heap/Heap.h" |
9 #include "platform/heap/TraceTraits.h" | 9 #include "platform/heap/TraceTraits.h" |
10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
11 #include "wtf/Assertions.h" | 11 #include "wtf/Assertions.h" |
12 #include "wtf/Atomics.h" | |
13 #include "wtf/Deque.h" | 12 #include "wtf/Deque.h" |
14 #include "wtf/HashCountedSet.h" | 13 #include "wtf/HashCountedSet.h" |
15 #include "wtf/HashMap.h" | 14 #include "wtf/HashMap.h" |
16 #include "wtf/HashSet.h" | 15 #include "wtf/HashSet.h" |
17 #include "wtf/HashTable.h" | 16 #include "wtf/HashTable.h" |
18 #include "wtf/LinkedHashSet.h" | 17 #include "wtf/LinkedHashSet.h" |
19 #include "wtf/ListHashSet.h" | 18 #include "wtf/ListHashSet.h" |
20 #include "wtf/TypeTraits.h" | 19 #include "wtf/TypeTraits.h" |
21 #include "wtf/Vector.h" | 20 #include "wtf/Vector.h" |
22 | 21 |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 static_assert(sizeof(T), "T must be fully defined"); | 554 static_assert(sizeof(T), "T must be fully defined"); |
556 // All heap allocated node pointers need visiting to keep the nodes alive, | 555 // All heap allocated node pointers need visiting to keep the nodes alive, |
557 // regardless of whether they contain pointers to other heap allocated | 556 // regardless of whether they contain pointers to other heap allocated |
558 // objects. | 557 // objects. |
559 static const bool value = true; | 558 static const bool value = true; |
560 }; | 559 }; |
561 | 560 |
562 } // namespace WTF | 561 } // namespace WTF |
563 | 562 |
564 #endif | 563 #endif |
OLD | NEW |