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

#include <compilation-cache-table.h>

Inheritance diagram for v8::internal::CompilationCacheShape:
Collaboration diagram for v8::internal::CompilationCacheShape:

Static Public Member Functions

static bool IsMatch (HashTableKey *key, Tagged< Object > value)
 
static uint32_t Hash (ReadOnlyRoots roots, HashTableKey *key)
 
static uint32_t RegExpHash (Tagged< String > string, Tagged< Smi > flags)
 
static uint32_t EvalHash (Tagged< String > source, Tagged< SharedFunctionInfo > shared, LanguageMode language_mode, int position)
 
static uint32_t HashForObject (ReadOnlyRoots roots, Tagged< Object > object)
 
- Static Public Member Functions inherited from v8::internal::BaseShape< HashTableKey * >
static Tagged< ObjectUnwrap (Tagged< Object > key)
 

Static Public Attributes

static const int kPrefixSize = 0
 
static const int kEntrySize = 3
 
static const bool kMatchNeedsHoleCheck = true
 
static const bool kDoHashSpreading = false
 
static const uint32_t kHashBits = 0
 

Additional Inherited Members

- Public Types inherited from v8::internal::BaseShape< HashTableKey * >
using Key
 

Detailed Description

Definition at line 22 of file compilation-cache-table.h.

Member Function Documentation

◆ EvalHash()

uint32_t v8::internal::CompilationCacheShape::EvalHash ( Tagged< String > source,
Tagged< SharedFunctionInfo > shared,
LanguageMode language_mode,
int position )
inlinestatic

Definition at line 112 of file compilation-cache-table-inl.h.

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

◆ Hash()

static uint32_t v8::internal::CompilationCacheShape::Hash ( ReadOnlyRoots roots,
HashTableKey * key )
inlinestatic

Definition at line 28 of file compilation-cache-table.h.

◆ HashForObject()

uint32_t v8::internal::CompilationCacheShape::HashForObject ( ReadOnlyRoots roots,
Tagged< Object > object )
inlinestatic

Definition at line 132 of file compilation-cache-table-inl.h.

Here is the call graph for this function:

◆ IsMatch()

static bool v8::internal::CompilationCacheShape::IsMatch ( HashTableKey * key,
Tagged< Object > value )
inlinestatic

Definition at line 24 of file compilation-cache-table.h.

◆ RegExpHash()

uint32_t v8::internal::CompilationCacheShape::RegExpHash ( Tagged< String > string,
Tagged< Smi > flags )
inlinestatic

Definition at line 107 of file compilation-cache-table-inl.h.

Here is the caller graph for this function:

Member Data Documentation

◆ kDoHashSpreading

const bool v8::internal::CompilationCacheShape::kDoHashSpreading = false
static

Definition at line 48 of file compilation-cache-table.h.

◆ kEntrySize

const int v8::internal::CompilationCacheShape::kEntrySize = 3
static

Definition at line 46 of file compilation-cache-table.h.

◆ kHashBits

const uint32_t v8::internal::CompilationCacheShape::kHashBits = 0
static

Definition at line 49 of file compilation-cache-table.h.

◆ kMatchNeedsHoleCheck

const bool v8::internal::CompilationCacheShape::kMatchNeedsHoleCheck = true
static

Definition at line 47 of file compilation-cache-table.h.

◆ kPrefixSize

const int v8::internal::CompilationCacheShape::kPrefixSize = 0
static

Definition at line 41 of file compilation-cache-table.h.


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