Changeset 50320 in webkit for trunk/JavaScriptCore/runtime/Structure.cpp
- Timestamp:
- Oct 30, 2009, 12:13:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Structure.cpp
r50254 r50320 557 557 558 558 m_isPinnedPropertyTable = true; 559 if (attributes & DontEnum)560 m_hasNonEnumerableProperties = true;561 559 562 560 size_t offset = put(propertyName, attributes, specificValue); … … 739 737 740 738 checkConsistency(); 739 740 if (attributes & DontEnum) 741 m_hasNonEnumerableProperties = true; 741 742 742 743 UString::Rep* rep = propertyName._ustring.rep(); … … 1026 1027 unsigned entryCount = m_propertyTable->keyCount + m_propertyTable->deletedSentinelCount; 1027 1028 for (unsigned k = 1; k <= entryCount; k++) { 1029 ASSERT(m_hasNonEnumerableProperties || !(m_propertyTable->entries()[k].attributes & DontEnum)); 1028 1030 if (m_propertyTable->entries()[k].key && !(m_propertyTable->entries()[k].attributes & DontEnum)) { 1029 1031 PropertyMapEntry* value = &m_propertyTable->entries()[k]; … … 1113 1115 unsigned nonEmptyEntryCount = 0; 1114 1116 for (unsigned c = 1; c <= m_propertyTable->keyCount + m_propertyTable->deletedSentinelCount; ++c) { 1117 ASSERT(m_hasNonEnumerableProperties || !(m_propertyTable->entries()[c].attributes & DontEnum)); 1115 1118 UString::Rep* rep = m_propertyTable->entries()[c].key; 1116 1119 if (!rep)
Note:
See TracChangeset
for help on using the changeset viewer.