Changeset 49734 in webkit for trunk/JavaScriptCore/runtime/StructureChain.cpp
- Timestamp:
- Oct 16, 2009, 10:52:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/StructureChain.cpp
r49726 r49734 47 47 } 48 48 49 bool StructureChain::isCacheable() const50 {51 uint32_t i = 0;52 53 while (m_vector[i]) {54 // Both classes of dictionary structure may change arbitrarily so we can't cache them55 if (m_vector[i]->isDictionary())56 return false;57 if (m_vector[i++]->typeInfo().overridesGetPropertyNames())58 return false;59 }60 return true;61 }62 63 49 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.