webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
JSC::HasOwnPropertyCache Class Reference

#include <HasOwnPropertyCache.h>

Classes

struct  Entry
 

Public Member Functions

 HasOwnPropertyCache ()=delete
 
void operator delete (void *cache)
 
ALWAYS_INLINE std::optional< bool > get (Structure *structure, PropertyName propName)
 
ALWAYS_INLINE void tryAdd (VM &vm, PropertySlot &slot, JSObject *object, PropertyName propName, bool result)
 
void clear ()
 
 HasOwnPropertyCache ()=delete
 
void operator delete (void *cache)
 
ALWAYS_INLINE std::optional< bool > get (Structure *structure, PropertyName propName)
 
ALWAYS_INLINE void tryAdd (VM &vm, PropertySlot &slot, JSObject *object, PropertyName propName, bool result)
 
void clear ()
 

Static Public Member Functions

static HasOwnPropertyCachecreate ()
 
static ALWAYS_INLINE uint32_t hash (StructureID structureID, UniquedStringImpl *impl)
 
static HasOwnPropertyCachecreate ()
 
static ALWAYS_INLINE uint32_t hash (StructureID structureID, UniquedStringImpl *impl)
 

Static Public Attributes

static const uint32_t mask = size - 1
 

Constructor & Destructor Documentation

◆ HasOwnPropertyCache() [1/2]

JSC::HasOwnPropertyCache::HasOwnPropertyCache ( )
delete

◆ HasOwnPropertyCache() [2/2]

JSC::HasOwnPropertyCache::HasOwnPropertyCache ( )
delete

Member Function Documentation

◆ clear() [1/2]

void JSC::HasOwnPropertyCache::clear ( )
inline

◆ clear() [2/2]

void JSC::HasOwnPropertyCache::clear ( )
inline

◆ create() [1/2]

static HasOwnPropertyCache* JSC::HasOwnPropertyCache::create ( )
inlinestatic

◆ create() [2/2]

static HasOwnPropertyCache* JSC::HasOwnPropertyCache::create ( )
inlinestatic

◆ get() [1/2]

ALWAYS_INLINE std::optional<bool> JSC::HasOwnPropertyCache::get ( Structure structure,
PropertyName  propName 
)
inline

◆ get() [2/2]

ALWAYS_INLINE std::optional<bool> JSC::HasOwnPropertyCache::get ( Structure structure,
PropertyName  propName 
)
inline

◆ hash() [1/2]

static ALWAYS_INLINE uint32_t JSC::HasOwnPropertyCache::hash ( StructureID  structureID,
UniquedStringImpl *  impl 
)
inlinestatic

◆ hash() [2/2]

static ALWAYS_INLINE uint32_t JSC::HasOwnPropertyCache::hash ( StructureID  structureID,
UniquedStringImpl *  impl 
)
inlinestatic

◆ operator delete() [1/2]

void JSC::HasOwnPropertyCache::operator delete ( void cache)
inline

◆ operator delete() [2/2]

void JSC::HasOwnPropertyCache::operator delete ( void cache)
inline

◆ tryAdd() [1/2]

ALWAYS_INLINE void JSC::HasOwnPropertyCache::tryAdd ( VM vm,
PropertySlot slot,
JSObject object,
PropertyName  propName,
bool  result 
)
inline

◆ tryAdd() [2/2]

ALWAYS_INLINE void JSC::HasOwnPropertyCache::tryAdd ( VM vm,
PropertySlot slot,
JSObject object,
PropertyName  propName,
bool  result 
)
inline

Member Data Documentation

◆ mask

static const uint32_t JSC::HasOwnPropertyCache::mask = size - 1
static

The documentation for this class was generated from the following file: