Skip to content
  • commit-queue@webkit.org's avatar
    Unzip initialization lists and constructors in JSCell hierarchy (1/7) · 214ac02e
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=66827
    
    Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-08-25
    Reviewed by Geoffrey Garen.
    
    Added finishCreation() methods to all immediately subclasses of JSCell with
    non-empty constructors.  Part of a larger refactoring to "unzip" initialization
    lists and constructor bodies.  Also renamed JSCell's constructorBody() method
    to finishCreation().
    
    * runtime/Executable.h:
    (JSC::ExecutableBase::ExecutableBase):
    (JSC::ExecutableBase::constructorBody):
    * runtime/GetterSetter.h:
    (JSC::GetterSetter::GetterSetter):
    * runtime/JSAPIValueWrapper.h:
    (JSC::JSAPIValueWrapper::constructorBody):
    (JSC::JSAPIValueWrapper::JSAPIValueWrapper):
    * runtime/JSCell.h:
    (JSC::JSCell::JSCell::JSCell):
    (JSC::JSCell::JSCell::constructorBody):
    * runtime/JSObject.h:
    (JSC::JSObject::constructorBody):
    (JSC::JSObject::JSObject):
    * runtime/JSPropertyNameIterator.h:
    (JSC::JSPropertyNameIterator::constructorBody):
    * runtime/JSString.h:
    (JSC::RopeBuilder::JSString):
    (JSC::RopeBuilder::constructorBody):
    * runtime/RegExp.cpp:
    (JSC::RegExp::RegExp):
    (JSC::RegExp::constructorBody):
    * runtime/RegExp.h:
    * runtime/ScopeChain.h:
    (JSC::ScopeChainNode::ScopeChainNode):
    (JSC::ScopeChainNode::constructorBody):
    * runtime/Structure.cpp:
    (JSC::Structure::Structure):
    * runtime/StructureChain.cpp:
    (JSC::StructureChain::StructureChain):
    * runtime/StructureChain.h:
    (JSC::StructureChain::create):
    (JSC::StructureChain::constructorBody):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    214ac02e