--- qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSCell.cpp 2012-12-18 20:04:38.000000000 +0100 +++ qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSCell.cpp 2012-12-28 22:41:43.767140209 +0100 @@ -226,4 +226,15 @@ return false; } +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 --- qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSDestructibleObject.h 2012-12-18 20:04:38.000000000 +0100 +++ qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSDestructibleObject.h 2012-12-28 22:41:43.661140211 +0100 @@ -27,17 +27,6 @@ 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