summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSDestructibleObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSDestructibleObject.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSDestructibleObject.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/JavaScriptCore/runtime/JSDestructibleObject.h b/Source/JavaScriptCore/runtime/JSDestructibleObject.h
index 27dc06da5..d687b8420 100644
--- a/Source/JavaScriptCore/runtime/JSDestructibleObject.h
+++ b/Source/JavaScriptCore/runtime/JSDestructibleObject.h
@@ -29,17 +29,6 @@ private:
const ClassInfo* m_classInfo;
};
-inline const ClassInfo* JSCell::classInfo() const
-{
- if (MarkedBlock::blockFor(this)->destructorType() == MarkedBlock::Normal)
- return static_cast<const JSDestructibleObject*>(this)->classInfo();
-#if ENABLE(GC_VALIDATION)
- return m_structure.unvalidatedGet()->classInfo();
-#else
- return m_structure->classInfo();
-#endif
-}
-
} // namespace JSC
#endif