Ignore:
Timestamp:
Jun 16, 2008, 4:28:38 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Geoff Garen.

Make Identifier construction use an explicitly passed IdentifierTable.

No change on SunSpider total.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/JSArray.cpp

    r34587 r34607  
    158158    if (UNLIKELY(i >= m_length)) {
    159159        if (i > maxArrayIndex)
    160             return getOwnPropertySlot(exec, Identifier::from(i), slot);
     160            return getOwnPropertySlot(exec, Identifier::from(exec, i), slot);
    161161        return false;
    162162    }
     
    231231    if (i >= length) {
    232232        if (i > maxArrayIndex) {
    233             put(exec, Identifier::from(i), value);
     233            put(exec, Identifier::from(exec, i), value);
    234234            return;
    235235        }
     
    361361
    362362    if (i > maxArrayIndex)
    363         return deleteProperty(exec, Identifier::from(i));
     363        return deleteProperty(exec, Identifier::from(exec, i));
    364364
    365365    return false;
     
    377377    for (unsigned i = 0; i < usedVectorLength; ++i) {
    378378        if (storage->m_vector[i])
    379             propertyNames.add(Identifier::from(i));
     379            propertyNames.add(Identifier::from(exec, i));
    380380    }
    381381
     
    383383        SparseArrayValueMap::iterator end = map->end();
    384384        for (SparseArrayValueMap::iterator it = map->begin(); it != end; ++it)
    385             propertyNames.add(Identifier::from(it->first));
     385            propertyNames.add(Identifier::from(exec, it->first));
    386386    }
    387387
Note: See TracChangeset for help on using the changeset viewer.