Ignore:
Timestamp:
Sep 4, 2008, 1:00:04 AM (17 years ago)
Author:
[email protected]
Message:

2008-09-04 Cameron Zwarich <[email protected]>

Rubber-stamped by Oliver Hunt.

Correct the spelling of 'entryIndices'.

  • kjs/PropertyMap.cpp: (KJS::PropertyMap::get): (KJS::PropertyMap::getLocation): (KJS::PropertyMap::put): (KJS::PropertyMap::insert): (KJS::PropertyMap::remove): (KJS::PropertyMap::checkConsistency):
  • kjs/PropertyMap.h: (KJS::PropertyMapHashTable::entries): (KJS::PropertyMap::getOffset): (KJS::PropertyMap::putOffset): (KJS::PropertyMap::offsetForTableLocation):
File:
1 edited

Legend:

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

    r36032 r36083  
    5959        unsigned deletedSentinelCount;
    6060        unsigned lastIndexUsed;
    61         unsigned entryIndicies[1];
     61        unsigned entryIndices[1];
    6262
    6363        PropertyMapEntry* entries()
     
    6767            // have a 0 in its key to allow the hash table lookup to handle deleted
    6868            // sentinels without any special-case code, but the other fields are unused.
    69             return reinterpret_cast<PropertyMapEntry*>(&entryIndicies[size]);
     69            return reinterpret_cast<PropertyMapEntry*>(&entryIndices[size]);
    7070        }
    7171
     
    9898        {
    9999            ASSERT(m_usingTable);
    100             return reinterpret_cast<JSValue**>(m_u.table->entryIndicies)[offset];
     100            return reinterpret_cast<JSValue**>(m_u.table->entryIndices)[offset];
    101101        }
    102102        void putOffset(size_t offset, JSValue* v)
    103103        {
    104104            ASSERT(m_usingTable);
    105             reinterpret_cast<JSValue**>(m_u.table->entryIndicies)[offset] = v;
     105            reinterpret_cast<JSValue**>(m_u.table->entryIndices)[offset] = v;
    106106        }
    107107
     
    129129        {
    130130            ASSERT(m_usingTable);
    131             return location - reinterpret_cast<JSValue**>(m_u.table->entryIndicies);
     131            return location - reinterpret_cast<JSValue**>(m_u.table->entryIndices);
    132132        }
    133133
Note: See TracChangeset for help on using the changeset viewer.