• oliver@apple.com's avatar
    2011-04-25 Oliver Hunt <oliver@apple.com> · 23ce68f4
    oliver@apple.com authored
            Reviewed by Geoffrey Garen.
    
            Make ClassInfo required when creating a Structure
            https://bugs.webkit.org/show_bug.cgi?id=59340
    
            Add ClassInfo to all those types which currently don't
            have it, and add an assertion to Structure::create to
            ensure that the provided classInfo is not null.
    
            * runtime/Executable.h:
            (JSC::EvalExecutable::createStructure):
            (JSC::ProgramExecutable::createStructure):
            (JSC::FunctionExecutable::createStructure):
            * runtime/GetterSetter.cpp:
            * runtime/GetterSetter.h:
            (JSC::GetterSetter::createStructure):
            * runtime/JSAPIValueWrapper.cpp:
            * runtime/JSAPIValueWrapper.h:
            (JSC::JSAPIValueWrapper::createStructure):
            * runtime/JSCell.cpp:
            * runtime/JSCell.h:
            * runtime/JSString.cpp:
            * runtime/JSString.h:
            (JSC::RopeBuilder::createStructure):
            * runtime/Structure.h:
            (JSC::Structure::create):
            (JSC::JSCell::createDummyStructure):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    23ce68f4
GetterSetter.h 2.52 KB