Changeset 153657 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Aug 2, 2013, 11:27:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r153556 r153657 103 103 size_t preCapacity; 104 104 size_t indexingPayloadSizeInBytes; 105 bool hasIndexingHeader = JSC::hasIndexingHeader(structure->indexingType());105 bool hasIndexingHeader = structure->hasIndexingHeader(); 106 106 if (UNLIKELY(hasIndexingHeader)) { 107 107 preCapacity = butterfly->indexingHeader()->preCapacity(structure); … … 149 149 break; 150 150 } 151 151 152 default: 152 CRASH();153 153 currentTarget = 0; 154 154 currentSource = 0; … … 174 174 size_t preCapacity; 175 175 size_t indexingPayloadSizeInBytes; 176 bool hasIndexingHeader = JSC::hasIndexingHeader(structure->indexingType());176 bool hasIndexingHeader = structure->hasIndexingHeader(); 177 177 if (UNLIKELY(hasIndexingHeader)) { 178 178 preCapacity = butterfly->indexingHeader()->preCapacity(structure); … … 1147 1147 } 1148 1148 1149 if (!hasIndex ingHeader(structure()->indexingType()))1149 if (!hasIndexedProperties(structure()->indexingType())) 1150 1150 return; 1151 1151
Note:
See TracChangeset
for help on using the changeset viewer.