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/JSObject.cpp

    r36304 r36310  
    7171    m_structureID->mark();
    7272
    73     unsigned storageSize = m_structureID->propertyMap().makingCount();
     73    unsigned storageSize = m_structureID->propertyMap().markingCount();
    7474    if (storageSize) {
    75         for (unsigned i = 1; i <= storageSize; ++i) {
     75        for (unsigned i = 0; i < storageSize; ++i) {
    7676            JSValue* v = m_propertyStorage[i];
    7777            if (!v->marked())
Note: See TracChangeset for help on using the changeset viewer.