From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Source/JavaScriptCore/heap/GCIncomingRefCountedSetInlines.h') 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::GCIncomingRefCountedSet() } template -GCIncomingRefCountedSet::~GCIncomingRefCountedSet() +void GCIncomingRefCountedSet::lastChanceToFinalize() { for (size_t i = m_vector.size(); i--;) m_vector[i]->filterIncomingReferences(removeAll); @@ -88,5 +87,3 @@ bool GCIncomingRefCountedSet::removeDead(JSCell* cell) } } // namespace JSC - -#endif // GCIncomingRefCountedSetInlines_h -- cgit v1.2.1