| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2011, Benjamin Poulain <ikipou@gmail.com> | 3 * Copyright (C) 2011, Benjamin Poulain <ikipou@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1027 template <typename VisitorDispatcher> | 1027 template <typename VisitorDispatcher> |
| 1028 void ListHashSet<T, inlineCapacity, U, V>::trace(VisitorDispatcher visitor) | 1028 void ListHashSet<T, inlineCapacity, U, V>::trace(VisitorDispatcher visitor) |
| 1029 { | 1029 { |
| 1030 static_assert(HashTraits<T>::weakHandlingFlag == NoWeakHandlingInCollections
, "ListHashSet does not support weakness"); | 1030 static_assert(HashTraits<T>::weakHandlingFlag == NoWeakHandlingInCollections
, "ListHashSet does not support weakness"); |
| 1031 // This marks all the nodes and their contents live that can be accessed | 1031 // This marks all the nodes and their contents live that can be accessed |
| 1032 // through the HashTable. That includes m_head and m_tail so we do not have | 1032 // through the HashTable. That includes m_head and m_tail so we do not have |
| 1033 // to explicitly trace them here. | 1033 // to explicitly trace them here. |
| 1034 m_impl.trace(visitor); | 1034 m_impl.trace(visitor); |
| 1035 } | 1035 } |
| 1036 | 1036 |
| 1037 #if !ENABLE(OILPAN) | |
| 1038 template <typename T, size_t U, typename V> | |
| 1039 struct NeedsTracing<ListHashSet<T, U, V>> { | |
| 1040 static const bool value = false; | |
| 1041 }; | |
| 1042 #endif | |
| 1043 | |
| 1044 } // namespace WTF | 1037 } // namespace WTF |
| 1045 | 1038 |
| 1046 using WTF::ListHashSet; | 1039 using WTF::ListHashSet; |
| 1047 | 1040 |
| 1048 #endif // WTF_ListHashSet_h | 1041 #endif // WTF_ListHashSet_h |
| OLD | NEW |