Skip to content
  • darin@apple.com's avatar
    2008-06-11 Darin Adler <darin@apple.com> · 1ac13a61
    darin@apple.com authored
            Reviewed by Maciej.
    
            - a little bit of cleanup and prep for some upcoming optimizations
    
            * JavaScriptCore.exp: Re-sorted this file (with sort command line tool).
            * VM/CodeBlock.cpp:
            (KJS::CodeBlock::dump): Fixed printf to avoid warnings -- to use %lu we
            need to make sure the type is unsigned long.
            * kjs/object.cpp:
            (KJS::Error::create): Eliminated unused error names array, and also put
            the strings into the code since there was already a switch statment.
            This also avoids having to contemplate a hypothetical access past the
            end of the array.
            * kjs/object.h: Got rid of errorNames.
            * kjs/property_slot.cpp: Deleted unused ungettableGetter.
            * kjs/property_slot.h: Ditto.
            * wtf/AlwaysInline.h: Added LIKELY alongside UNLIKELY.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1ac13a61