summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/StructureChain.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/StructureChain.h')
-rw-r--r--Source/JavaScriptCore/runtime/StructureChain.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/runtime/StructureChain.h b/Source/JavaScriptCore/runtime/StructureChain.h
index 3b19d4cf1..878f606b4 100644
--- a/Source/JavaScriptCore/runtime/StructureChain.h
+++ b/Source/JavaScriptCore/runtime/StructureChain.h
@@ -59,6 +59,10 @@ namespace JSC {
static ClassInfo s_info;
+ static const bool needsDestruction = true;
+ static const bool hasImmortalStructure = true;
+ static void destroy(JSCell*);
+
protected:
void finishCreation(JSGlobalData& globalData, Structure* head)
{
@@ -78,7 +82,6 @@ namespace JSC {
friend class LLIntOffsetsExtractor;
StructureChain(JSGlobalData&, Structure*);
- static void destroy(JSCell*);
OwnArrayPtr<WriteBarrier<Structure> > m_vector;
};