X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..HEAD:/runtime/JSDestructibleObject.h diff --git a/runtime/JSDestructibleObject.h b/runtime/JSDestructibleObject.h index 27dc06d..d687b84 100644 --- a/runtime/JSDestructibleObject.h +++ b/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(this)->classInfo(); -#if ENABLE(GC_VALIDATION) - return m_structure.unvalidatedGet()->classInfo(); -#else - return m_structure->classInfo(); -#endif -} - } // namespace JSC #endif