Changeset 154337 in webkit for trunk/Source/JavaScriptCore/runtime/PropertySlot.h
- Timestamp:
- Aug 20, 2013, 10:12:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PropertySlot.h
r154313 r154337 70 70 bool isCacheable() const { return m_offset != invalidOffset; } 71 71 bool isValue() const { return m_propertyType == TypeValue; } 72 bool is Getter() const { return m_propertyType == TypeGetter; }72 bool isAccessor() const { return m_propertyType == TypeGetter; } 73 73 bool isCustom() const { return m_propertyType == TypeCustom; } 74 74 bool isCacheableValue() const { return isCacheable() && isValue(); } 75 bool isCacheableGetter() const { return isCacheable() && is Getter(); }75 bool isCacheableGetter() const { return isCacheable() && isAccessor(); } 76 76 bool isCacheableCustom() const { return isCacheable() && isCustom(); } 77 77 … … 86 86 GetterSetter* getterSetter() const 87 87 { 88 ASSERT(is Getter());88 ASSERT(isAccessor()); 89 89 return m_data.getter.getterSetter; 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.