• oliver@apple.com's avatar
    Add some hardening to methodTable() · b6b94a90
    oliver@apple.com authored
    Reviewed by Mark Hahnenberg.
    When accessing methodTable() we now always make sure that our
    structure _could_ be valid.  Added a separate method to get a
    classes methodTable during destruction as it's not possible to
    validate the structure at that point.  This separation might
    also make it possible to improve the performance of methodTable
    access more generally in future.
    * heap/MarkedBlock.cpp:
    * runtime/JSCell.h:
    * runtime/JSCellInlines.h:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSCellInlines.h 6.04 KB