Changeset 239013 in webkit for trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
- Timestamp:
- Dec 8, 2018, 3:53:29 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
r230748 r239013 37 37 class PutPropertySlot { 38 38 public: 39 enum Type { Uncachable, ExistingProperty, NewProperty, SetterProperty, CustomValue, CustomAccessor };39 enum Type : uint8_t { Uncachable, ExistingProperty, NewProperty, SetterProperty, CustomValue, CustomAccessor }; 40 40 enum Context { UnknownContext, PutById, PutByIdEval }; 41 41 typedef bool (*PutValueFunc)(ExecState*, EncodedJSValue thisObject, EncodedJSValue value); 42 42 43 43 PutPropertySlot(JSValue thisValue, bool isStrictMode = false, Context context = UnknownContext, bool isInitialization = false) 44 : m_type(Uncachable) 45 , m_base(0) 44 : m_base(0) 46 45 , m_thisValue(thisValue) 47 46 , m_offset(invalidOffset) 48 47 , m_isStrictMode(isStrictMode) 49 48 , m_isInitialization(isInitialization) 49 , m_type(Uncachable) 50 50 , m_context(context) 51 51 , m_cacheability(CachingAllowed) … … 130 130 bool isCacheable() const { return m_cacheability == CachingAllowed; } 131 131 132 Type m_type;133 132 JSObject* m_base; 134 133 JSValue m_thisValue; 135 134 PropertyOffset m_offset; 136 bool m_isStrictMode; 137 bool m_isInitialization; 135 bool m_isStrictMode : 1; 136 bool m_isInitialization : 1; 137 Type m_type; 138 138 uint8_t m_context; 139 139 CacheabilityType m_cacheability;
Note:
See TracChangeset
for help on using the changeset viewer.