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

#include <compilation-cache.h>

Collaboration diagram for v8::internal::CompilationCacheRegExp:

Public Member Functions

 CompilationCacheRegExp (Isolate *isolate)
 
MaybeDirectHandle< RegExpDataLookup (DirectHandle< String > source, JSRegExp::Flags flags)
 
void Put (DirectHandle< String > source, JSRegExp::Flags flags, DirectHandle< RegExpData > data)
 
DirectHandle< CompilationCacheTableGetTable (int generation)
 
void Age ()
 
void Iterate (RootVisitor *v)
 
void Clear ()
 

Static Public Attributes

static const int kGenerations = 2
 

Private Member Functions

Isolateisolate () const
 
 DISALLOW_IMPLICIT_CONSTRUCTORS (CompilationCacheRegExp)
 

Private Attributes

Isolate *const isolate_
 
Tagged< Objecttables_ [kGenerations]
 

Detailed Description

Definition at line 102 of file compilation-cache.h.

Constructor & Destructor Documentation

◆ CompilationCacheRegExp()

v8::internal::CompilationCacheRegExp::CompilationCacheRegExp ( Isolate * isolate)
inline

Definition at line 104 of file compilation-cache.h.

Member Function Documentation

◆ Age()

void v8::internal::CompilationCacheRegExp::Age ( )

Definition at line 54 of file compilation-cache.cc.

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

◆ Clear()

void v8::internal::CompilationCacheRegExp::Clear ( )

Definition at line 143 of file compilation-cache.cc.

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

◆ DISALLOW_IMPLICIT_CONSTRUCTORS()

v8::internal::CompilationCacheRegExp::DISALLOW_IMPLICIT_CONSTRUCTORS ( CompilationCacheRegExp )
private

◆ GetTable()

DirectHandle< CompilationCacheTable > v8::internal::CompilationCacheRegExp::GetTable ( int generation)

Definition at line 39 of file compilation-cache.cc.

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

◆ isolate()

Isolate * v8::internal::CompilationCacheRegExp::isolate ( ) const
inlineprivate

Definition at line 130 of file compilation-cache.h.

Here is the caller graph for this function:

◆ Iterate()

void v8::internal::CompilationCacheRegExp::Iterate ( RootVisitor * v)

Definition at line 133 of file compilation-cache.cc.

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

◆ Lookup()

MaybeDirectHandle< RegExpData > v8::internal::CompilationCacheRegExp::Lookup ( DirectHandle< String > source,
JSRegExp::Flags flags )

Definition at line 230 of file compilation-cache.cc.

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

◆ Put()

void v8::internal::CompilationCacheRegExp::Put ( DirectHandle< String > source,
JSRegExp::Flags flags,
DirectHandle< RegExpData > data )

Definition at line 257 of file compilation-cache.cc.

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

Member Data Documentation

◆ isolate_

Isolate* const v8::internal::CompilationCacheRegExp::isolate_
private

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

◆ kGenerations

const int v8::internal::CompilationCacheRegExp::kGenerations = 2
static

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

◆ tables_

Tagged<Object> v8::internal::CompilationCacheRegExp::tables_[kGenerations]
private

Definition at line 133 of file compilation-cache.h.


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