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

#include <compilation-cache-table.h>

Inheritance diagram for v8::internal::CompilationCacheTable:
Collaboration diagram for v8::internal::CompilationCacheTable:

Public Member Functions

DirectHandle< ObjectLookupRegExp (DirectHandle< String > source, JSRegExp::Flags flags)
 
void Remove (Tagged< Object > value)
 
void RemoveEntry (InternalIndex entry)
 
Tagged< ObjectPrimaryValueAt (InternalIndex entry)
 
void SetPrimaryValueAt (InternalIndex entry, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
Tagged< ObjectEvalFeedbackValueAt (InternalIndex entry)
 
void SetEvalFeedbackValueAt (InternalIndex entry, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 

Static Public Member Functions

static NEVER_READ_ONLY_SPACE CompilationCacheScriptLookupResult LookupScript (DirectHandle< CompilationCacheTable > table, Handle< String > src, const ScriptDetails &script_details, Isolate *isolate)
 
static DirectHandle< CompilationCacheTablePutScript (Handle< CompilationCacheTable > cache, Handle< String > src, MaybeHandle< FixedArray > maybe_wrapped_arguments, DirectHandle< SharedFunctionInfo > value, Isolate *isolate)
 
static InfoCellPair LookupEval (DirectHandle< CompilationCacheTable > table, DirectHandle< String > src, DirectHandle< SharedFunctionInfo > shared, DirectHandle< NativeContext > native_context, LanguageMode language_mode, int position)
 
static DirectHandle< CompilationCacheTablePutEval (DirectHandle< CompilationCacheTable > cache, DirectHandle< String > src, DirectHandle< SharedFunctionInfo > outer_info, DirectHandle< SharedFunctionInfo > value, DirectHandle< NativeContext > native_context, DirectHandle< FeedbackCell > feedback_cell, int position)
 
static DirectHandle< CompilationCacheTablePutRegExp (Isolate *isolate, DirectHandle< CompilationCacheTable > cache, DirectHandle< String > src, JSRegExp::Flags flags, DirectHandle< RegExpData > value)
 

Static Public Attributes

static constexpr int kHashGenerations = 10
 

Static Private Member Functions

static Handle< CompilationCacheTableEnsureScriptTableCapacity (Isolate *isolate, Handle< CompilationCacheTable > cache)
 

Detailed Description

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

Member Function Documentation

◆ EnsureScriptTableCapacity()

Handle< CompilationCacheTable > v8::internal::CompilationCacheTable::EnsureScriptTableCapacity ( Isolate * isolate,
Handle< CompilationCacheTable > cache )
staticprivate

Definition at line 499 of file compilation-cache-table.cc.

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

◆ EvalFeedbackValueAt()

Tagged< Object > v8::internal::CompilationCacheTable::EvalFeedbackValueAt ( InternalIndex entry)
inline

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

◆ LookupEval()

InfoCellPair v8::internal::CompilationCacheTable::LookupEval ( DirectHandle< CompilationCacheTable > table,
DirectHandle< String > src,
DirectHandle< SharedFunctionInfo > shared,
DirectHandle< NativeContext > native_context,
LanguageMode language_mode,
int position )
static

Definition at line 466 of file compilation-cache-table.cc.

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

◆ LookupRegExp()

DirectHandle< Object > v8::internal::CompilationCacheTable::LookupRegExp ( DirectHandle< String > source,
JSRegExp::Flags flags )

Definition at line 489 of file compilation-cache-table.cc.

Here is the call graph for this function:

◆ LookupScript()

CompilationCacheScriptLookupResult v8::internal::CompilationCacheTable::LookupScript ( DirectHandle< CompilationCacheTable > table,
Handle< String > src,
const ScriptDetails & script_details,
Isolate * isolate )
static

Definition at line 441 of file compilation-cache-table.cc.

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

◆ PrimaryValueAt()

Tagged< Object > v8::internal::CompilationCacheTable::PrimaryValueAt ( InternalIndex entry)
inline

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

Here is the caller graph for this function:

◆ PutEval()

DirectHandle< CompilationCacheTable > v8::internal::CompilationCacheTable::PutEval ( DirectHandle< CompilationCacheTable > cache,
DirectHandle< String > src,
DirectHandle< SharedFunctionInfo > outer_info,
DirectHandle< SharedFunctionInfo > value,
DirectHandle< NativeContext > native_context,
DirectHandle< FeedbackCell > feedback_cell,
int position )
static

Definition at line 566 of file compilation-cache-table.cc.

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

◆ PutRegExp()

DirectHandle< CompilationCacheTable > v8::internal::CompilationCacheTable::PutRegExp ( Isolate * isolate,
DirectHandle< CompilationCacheTable > cache,
DirectHandle< String > src,
JSRegExp::Flags flags,
DirectHandle< RegExpData > value )
static

Definition at line 610 of file compilation-cache-table.cc.

Here is the caller graph for this function:

◆ PutScript()

DirectHandle< CompilationCacheTable > v8::internal::CompilationCacheTable::PutScript ( Handle< CompilationCacheTable > cache,
Handle< String > src,
MaybeHandle< FixedArray > maybe_wrapped_arguments,
DirectHandle< SharedFunctionInfo > value,
Isolate * isolate )
static

Definition at line 522 of file compilation-cache-table.cc.

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

◆ Remove()

void v8::internal::CompilationCacheTable::Remove ( Tagged< Object > value)

Definition at line 625 of file compilation-cache-table.cc.

Here is the call graph for this function:

◆ RemoveEntry()

void v8::internal::CompilationCacheTable::RemoveEntry ( InternalIndex entry)

Definition at line 634 of file compilation-cache-table.cc.

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

◆ SetEvalFeedbackValueAt()

void v8::internal::CompilationCacheTable::SetEvalFeedbackValueAt ( InternalIndex entry,
Tagged< Object > value,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER )
inline

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

◆ SetPrimaryValueAt()

void v8::internal::CompilationCacheTable::SetPrimaryValueAt ( InternalIndex entry,
Tagged< Object > value,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER )
inline

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

Member Data Documentation

◆ kHashGenerations

int v8::internal::CompilationCacheTable::kHashGenerations = 10
staticconstexpr

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


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