Changeset 10185 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Aug 14, 2005, 7:55:14 PM (20 years ago)
Author:
darin
Message:

Reviewed by Maciej.

  • fixed crash observed on one of the Apple-only layout tests
  • kjs/property_map.cpp: (KJS::PropertyMap::mark): Change code to understand that deleted entries have a value of NULL, so the deleted sentinel count doesn't need to be included in the count of things to mark since we're ignoring the keys.
File:
1 edited

Legend:

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

    r10180 r10185  
    542542    }
    543543
    544     int minimumKeysToProcess = _table->keyCount + _table->sentinelCount;
     544    int minimumKeysToProcess = _table->keyCount;
    545545    Entry *entries = _table->entries;
    546546    for (int i = 0; i < minimumKeysToProcess; i++) {
Note: See TracChangeset for help on using the changeset viewer.