Changeset 267163 in webkit for trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
- Timestamp:
- Sep 16, 2020, 3:04:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
r261464 r267163 113 113 bool isCacheablePut() const { return isCacheable() && (m_type == NewProperty || m_type == ExistingProperty); } 114 114 bool isCacheableSetter() const { return isCacheable() && m_type == SetterProperty; } 115 bool isCacheableCustom() const { return isCacheable() && (m_type == CustomValue || m_type == CustomAccessor) ; }115 bool isCacheableCustom() const { return isCacheable() && (m_type == CustomValue || m_type == CustomAccessor) && !!m_putFunction; } 116 116 bool isCustomAccessor() const { return isCacheable() && m_type == CustomAccessor; } 117 117 bool isInitialization() const { return m_isInitialization; }
Note:
See TracChangeset
for help on using the changeset viewer.