v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DescriptorLookupCache Class Reference

#include <lookup-cache.h>

Collaboration diagram for v8::internal::DescriptorLookupCache:

Classes

struct  Key
 

Public Member Functions

 DescriptorLookupCache (const DescriptorLookupCache &)=delete
 
DescriptorLookupCacheoperator= (const DescriptorLookupCache &)=delete
 
int Lookup (Tagged< Map > source, Tagged< Name > name)
 
void Update (Tagged< Map > source, Tagged< Name > name, int result)
 
void Clear ()
 

Static Public Attributes

static const int kAbsent = -2
 

Private Member Functions

 DescriptorLookupCache ()
 

Static Private Member Functions

static int Hash (Tagged< Map > source, Tagged< Name > name)
 

Private Attributes

Key keys_ [kLength]
 
int results_ [kLength]
 

Static Private Attributes

static const int kLength = 64
 

Friends

class Isolate
 

Detailed Description

Definition at line 19 of file lookup-cache.h.

Constructor & Destructor Documentation

◆ DescriptorLookupCache() [1/2]

v8::internal::DescriptorLookupCache::DescriptorLookupCache ( const DescriptorLookupCache & )
delete

◆ DescriptorLookupCache() [2/2]

v8::internal::DescriptorLookupCache::DescriptorLookupCache ( )
inlineprivate

Definition at line 36 of file lookup-cache.h.

Here is the call graph for this function:

Member Function Documentation

◆ Clear()

void v8::internal::DescriptorLookupCache::Clear ( )

Definition at line 10 of file lookup-cache.cc.

Here is the caller graph for this function:

◆ Hash()

int v8::internal::DescriptorLookupCache::Hash ( Tagged< Map > source,
Tagged< Name > name )
inlinestaticprivate

Definition at line 18 of file lookup-cache-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Lookup()

int v8::internal::DescriptorLookupCache::Lookup ( Tagged< Map > source,
Tagged< Name > name )
inline

Definition at line 26 of file lookup-cache-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

DescriptorLookupCache & v8::internal::DescriptorLookupCache::operator= ( const DescriptorLookupCache & )
delete

◆ Update()

void v8::internal::DescriptorLookupCache::Update ( Tagged< Map > source,
Tagged< Name > name,
int result )
inline

Definition at line 36 of file lookup-cache-inl.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Isolate

friend class Isolate
friend

Definition at line 55 of file lookup-cache.h.

Member Data Documentation

◆ kAbsent

const int v8::internal::DescriptorLookupCache::kAbsent = -2
static

Definition at line 33 of file lookup-cache.h.

◆ keys_

Key v8::internal::DescriptorLookupCache::keys_[kLength]
private

Definition at line 52 of file lookup-cache.h.

◆ kLength

const int v8::internal::DescriptorLookupCache::kLength = 64
staticprivate

Definition at line 46 of file lookup-cache.h.

◆ results_

int v8::internal::DescriptorLookupCache::results_[kLength]
private

Definition at line 53 of file lookup-cache.h.


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