From a4e969f4965059196ca948db781e52f7cfebf19e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 24 May 2016 08:28:08 +0000 Subject: webkitgtk-2.12.3 --- Source/JavaScriptCore/runtime/SparseArrayValueMap.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Source/JavaScriptCore/runtime/SparseArrayValueMap.h') diff --git a/Source/JavaScriptCore/runtime/SparseArrayValueMap.h b/Source/JavaScriptCore/runtime/SparseArrayValueMap.h index 113beb350..0754b53d9 100644 --- a/Source/JavaScriptCore/runtime/SparseArrayValueMap.h +++ b/Source/JavaScriptCore/runtime/SparseArrayValueMap.h @@ -32,7 +32,6 @@ #include "PutDirectIndexMode.h" #include "WriteBarrier.h" #include -#include namespace JSC { @@ -43,7 +42,6 @@ struct SparseArrayEntry : public WriteBarrier { SparseArrayEntry() : attributes(0) { } - JSValue get(ExecState*, JSObject*) const; void get(JSObject*, PropertySlot&) const; void get(PropertyDescriptor&) const; void put(ExecState*, JSValue thisValue, SparseArrayValueMap*, JSValue, bool shouldThrow); @@ -52,9 +50,10 @@ struct SparseArrayEntry : public WriteBarrier { unsigned attributes; }; -class SparseArrayValueMap : public JSCell { +class SparseArrayValueMap final : public JSCell { public: typedef JSCell Base; + static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal; private: typedef HashMap, WTF::UnsignedWithZeroKeyHashTraits> Map; @@ -70,8 +69,6 @@ private: void finishCreation(VM&); - static const unsigned StructureFlags = OverridesVisitChildren | JSCell::StructureFlags; - public: DECLARE_EXPORT_INFO; @@ -82,7 +79,6 @@ public: static SparseArrayValueMap* create(VM&); static const bool needsDestruction = true; - static const bool hasImmortalStructure = true; static void destroy(JSCell*); static Structure* createStructure(VM&, JSGlobalObject*, JSValue prototype); -- cgit v1.2.1