Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 449092
Collapse All | Expand All

(-)qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSCell.cpp (+11 lines)
Lines 226-229 Link Here
226
    return false;
226
    return false;
227
}
227
}
228
228
229
const ClassInfo* JSCell::classInfo() const
230
{
231
    if (MarkedBlock::blockFor(this)->destructorType() == MarkedBlock::Normal)
232
        return static_cast<const JSDestructibleObject*>(this)->classInfo();
233
#if ENABLE(GC_VALIDATION)
234
    return m_structure.unvalidatedGet()->classInfo();
235
#else
236
    return m_structure->classInfo();
237
#endif
238
}
239
229
} // namespace JSC
240
} // namespace JSC
(-)qtwebkit-opensource-src-5.0.0.orig/Source/JavaScriptCore/runtime/JSDestructibleObject.h (-11 lines)
Lines 27-43 Link Here
27
    const ClassInfo* m_classInfo;
27
    const ClassInfo* m_classInfo;
28
};
28
};
29
29
30
inline const ClassInfo* JSCell::classInfo() const
31
{
32
    if (MarkedBlock::blockFor(this)->destructorType() == MarkedBlock::Normal)
33
        return static_cast<const JSDestructibleObject*>(this)->classInfo();
34
#if ENABLE(GC_VALIDATION)
35
    return m_structure.unvalidatedGet()->classInfo();
36
#else
37
    return m_structure->classInfo();
38
#endif
39
}
40
41
} // namespace JSC
30
} // namespace JSC
42
31
43
#endif
32
#endif

Return to bug 449092