Ignore:
Timestamp:
Aug 20, 2009, 4:05:03 PM (16 years ago)
Author:
[email protected]
Message:

EGRESSION: significant slowdown on Celtic Kane "AJAX declaration" subtest
https://bugs.webkit.org/show_bug.cgi?id=28332

Reviewed by Geoff Garen

Follow up style fixes that were missed in review.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/StructureTransitionTable.h

    r47601 r47605  
    7070        typedef HashMap<StructureTransitionTableHash::Key, Transition, StructureTransitionTableHash, StructureTransitionTableHashTraits> TransitionTable;
    7171    public:
    72         inline bool contains(const StructureTransitionTableHash::Key& key, JSCell* specificValue);
    73         inline Structure* get(const StructureTransitionTableHash::Key& key, JSCell* specificValue) const;
     72        // The contains and get methods accept imprecise matches, so if an unspecialised transition exists
     73        // for the given key they will consider that transition to be a match.  If a specialised transition
     74        // exists and it matches the provided specificValue, get will return the specific transition.
     75        inline bool contains(const StructureTransitionTableHash::Key&, JSCell* specificValue);
     76        inline Structure* get(const StructureTransitionTableHash::Key&, JSCell* specificValue) const;
    7477        bool hasTransition(const StructureTransitionTableHash::Key& key)
    7578        {
     
    100103                m_table.add(key, Transition(0, structure));
    101104            }
    102                
    103105
    104106        }
Note: See TracChangeset for help on using the changeset viewer.