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/Structure.h

    r47601 r47605  
    104104        {
    105105            ASSERT(!propertyName.isNull());
    106             return get(propertyName._ustring.rep(), attributes, specificValue);
     106            return get(propertyName.ustring().rep(), attributes, specificValue);
    107107        }
    108108        bool transitionedFor(const JSCell* specificValue)
     
    110110            return m_specificValueInPrevious == specificValue;
    111111        }
    112         bool hasTransition(UString::Rep* rep, unsigned attributes);
     112        bool hasTransition(UString::Rep*, unsigned attributes);
    113113        bool hasTransition(const Identifier& propertyName, unsigned attributes)
    114114        {
     
    244244    bool StructureTransitionTable::contains(const StructureTransitionTableHash::Key& key, JSCell* specificValue)
    245245    {
    246         const TransitionTable::iterator find = m_table.find(key);
    247         if (find == m_table.end()) {
    248             ASSERT(!m_table.contains(key));
     246        TransitionTable::iterator find = m_table.find(key);
     247        if (find == m_table.end())
    249248            return false;
    250         }
     249
    251250        return find->second.first || find->second.second->transitionedFor(specificValue);
    252251    }
Note: See TracChangeset for help on using the changeset viewer.