Changeset 270764 in webkit for trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
- Timestamp:
- Dec 14, 2020, 2:32:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
r268247 r270764 39 39 enum Type : uint8_t { Uncachable, ExistingProperty, NewProperty, SetterProperty, CustomValue, CustomAccessor }; 40 40 enum Context { UnknownContext, PutById, PutByIdEval }; 41 typedef bool (*PutValueFunc)(JSGlobalObject*, EncodedJSValue thisObject, EncodedJSValue value); 41 using PutValueFunc = bool (*)(JSGlobalObject*, EncodedJSValue thisObject, EncodedJSValue value); 42 using PutValueFuncWithPtr = bool (*)(JSGlobalObject*, EncodedJSValue thisObject, EncodedJSValue value, void*); 42 43 43 44 PutPropertySlot(JSValue thisValue, bool isStrictMode = false, Context context = UnknownContext, bool isInitialization = false) … … 98 99 } 99 100 100 FunctionPtr< PutValuePtrTag> customSetter() const101 FunctionPtr<CustomAccessorPtrTag> customSetter() const 101 102 { 102 103 ASSERT(isCacheableCustom()); … … 138 139 uint8_t m_context; 139 140 CacheabilityType m_cacheability; 140 FunctionPtr< PutValuePtrTag> m_putFunction;141 FunctionPtr<CustomAccessorPtrTag> m_putFunction; 141 142 }; 142 143
Note:
See TracChangeset
for help on using the changeset viewer.