diff options
Diffstat (limited to 'Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h')
-rw-r--r-- | Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h b/Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h index 52c55e2d1..b10972da0 100644 --- a/Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h +++ b/Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h @@ -23,8 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef GCIncomingRefCountedSetInlines_h -#define GCIncomingRefCountedSetInlines_h +#pragma once #include "GCIncomingRefCountedSet.h" #include "VM.h" @@ -38,7 +37,7 @@ GCIncomingRefCountedSet<T>::GCIncomingRefCountedSet() } template<typename T> -GCIncomingRefCountedSet<T>::~GCIncomingRefCountedSet() +void GCIncomingRefCountedSet<T>::lastChanceToFinalize() { for (size_t i = m_vector.size(); i--;) m_vector[i]->filterIncomingReferences(removeAll); @@ -88,5 +87,3 @@ bool GCIncomingRefCountedSet<T>::removeDead(JSCell* cell) } } // namespace JSC - -#endif // GCIncomingRefCountedSetInlines_h |