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

#include <bootstrapper.h>

Collaboration diagram for v8::internal::SourceCodeCache:

Public Member Functions

 SourceCodeCache (Script::Type type)
 
 SourceCodeCache (const SourceCodeCache &)=delete
 
SourceCodeCacheoperator= (const SourceCodeCache &)=delete
 
void Initialize (Isolate *isolate, bool create_heap_objects)
 
void Iterate (RootVisitor *v)
 
bool Lookup (Isolate *isolate, base::Vector< const char > name, DirectHandle< SharedFunctionInfo > *handle)
 
void Add (Isolate *isolate, base::Vector< const char > name, DirectHandle< SharedFunctionInfo > shared)
 

Private Attributes

Script::Type type_
 
Tagged< FixedArraycache_
 

Detailed Description

Definition at line 23 of file bootstrapper.h.

Constructor & Destructor Documentation

◆ SourceCodeCache() [1/2]

v8::internal::SourceCodeCache::SourceCodeCache ( Script::Type type)
inlineexplicit

Definition at line 25 of file bootstrapper.h.

◆ SourceCodeCache() [2/2]

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

Member Function Documentation

◆ Add()

void v8::internal::SourceCodeCache::Add ( Isolate * isolate,
base::Vector< const char > name,
DirectHandle< SharedFunctionInfo > shared )

Definition at line 118 of file bootstrapper.cc.

Here is the call graph for this function:

◆ Initialize()

void v8::internal::SourceCodeCache::Initialize ( Isolate * isolate,
bool create_heap_objects )

Definition at line 96 of file bootstrapper.cc.

Here is the caller graph for this function:

◆ Iterate()

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

Definition at line 101 of file bootstrapper.cc.

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

◆ Lookup()

bool v8::internal::SourceCodeCache::Lookup ( Isolate * isolate,
base::Vector< const char > name,
DirectHandle< SharedFunctionInfo > * handle )

Definition at line 105 of file bootstrapper.cc.

Here is the call graph for this function:

◆ operator=()

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

Member Data Documentation

◆ cache_

Tagged<FixedArray> v8::internal::SourceCodeCache::cache_
private

Definition at line 41 of file bootstrapper.h.

◆ type_

Script::Type v8::internal::SourceCodeCache::type_
private

Definition at line 40 of file bootstrapper.h.


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