Skip to content
  • msaboff@apple.com's avatar
    Improve diagnostic benefit of JSGlobalData::m_isInitializingObject · 18292eb3
    msaboff@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=81244
    
    Rubber stamped by Filip Pizlo.
    
    Changed type and name of JSGlobalData::m_isInitializingObject to
    ClassInfo* and m_initializingObjectClass.
    Changed JSGlobalData::setInitializingObject to
    JSGlobalData::setInitializingObjectClass.  This pointer can be used within 
    the debugger to determine what type of object is being initialized.
            
    * runtime/JSCell.h:
    (JSC::JSCell::finishCreation):
    (JSC::allocateCell):
    * runtime/JSGlobalData.cpp:
    (JSC::JSGlobalData::JSGlobalData):
    * runtime/JSGlobalData.h:
    (JSGlobalData):
    (JSC::JSGlobalData::isInitializingObject):
    (JSC::JSGlobalData::setInitializingObjectClass):
    * runtime/Structure.h:
    (JSC::JSCell::finishCreation):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    18292eb3