Ignore:
Timestamp:
Sep 9, 2008, 7:36:47 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-09 Sam Weinig <[email protected]>

Reviewed by Cameron Zwarich.

Don't waste the first item in the PropertyStorage.

  • Fix typo (makingCount -> markingCount)
  • Remove undefined method declaration.

No change on Sunspider.

  • kjs/JSObject.cpp: (JSC::JSObject::mark):
  • kjs/PropertyMap.cpp: (JSC::PropertyMap::put): (JSC::PropertyMap::remove): (JSC::PropertyMap::getOffset): (JSC::PropertyMap::insert): (JSC::PropertyMap::rehash): (JSC::PropertyMap::resizePropertyStorage): (JSC::PropertyMap::checkConsistency):
  • kjs/PropertyMap.h: (JSC::PropertyMap::markingCount): Fix typo.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/PropertyMap.h

    r36306 r36310  
    102102
    103103        unsigned size() const { return m_table ? m_table->size : 0; }
    104         unsigned makingCount() const { return m_table ? m_table->keyCount + m_table->deletedSentinelCount : 0; }
     104        unsigned markingCount() const { return m_table ? m_table->keyCount + m_table->deletedSentinelCount : 0; }
    105105
    106106        void resizePropertyStorage(PropertyStorage&, unsigned oldSize);
     
    110110        typedef PropertyMapHashTable Table;
    111111
    112         static bool keysMatch(const UString::Rep*, const UString::Rep*);
    113112        void expand(PropertyStorage&);
    114113        void rehash(PropertyStorage&);
Note: See TracChangeset for help on using the changeset viewer.