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

#include <compilation-cache.h>

Inheritance diagram for v8::internal::CompilationCacheScript:
Collaboration diagram for v8::internal::CompilationCacheScript:

Public Types

using LookupResult = CompilationCacheScriptLookupResult
 

Public Member Functions

 CompilationCacheScript (Isolate *isolate)
 
LookupResult Lookup (Handle< String > source, const ScriptDetails &script_details)
 
void Put (Handle< String > source, DirectHandle< SharedFunctionInfo > function_info)
 
void Age ()
 
- Public Member Functions inherited from v8::internal::CompilationCacheEvalOrScript
 CompilationCacheEvalOrScript (Isolate *isolate)
 
Handle< CompilationCacheTableGetTable ()
 
void Iterate (RootVisitor *v)
 
void Clear ()
 
void Remove (DirectHandle< SharedFunctionInfo > function_info)
 

Private Member Functions

 DISALLOW_IMPLICIT_CONSTRUCTORS (CompilationCacheScript)
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::CompilationCacheEvalOrScript
Isolateisolate () const
 
 DISALLOW_IMPLICIT_CONSTRUCTORS (CompilationCacheEvalOrScript)
 
- Protected Attributes inherited from v8::internal::CompilationCacheEvalOrScript
Isolate *const isolate_
 
Tagged< Objecttable_
 

Detailed Description

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

Member Typedef Documentation

◆ LookupResult

Constructor & Destructor Documentation

◆ CompilationCacheScript()

v8::internal::CompilationCacheScript::CompilationCacheScript ( Isolate * isolate)
inlineexplicit

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

Member Function Documentation

◆ Age()

void v8::internal::CompilationCacheScript::Age ( )

Definition at line 66 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::CompilationCacheScript::DISALLOW_IMPLICIT_CONSTRUCTORS ( CompilationCacheScript )
private

◆ Lookup()

CompilationCacheScript::LookupResult v8::internal::CompilationCacheScript::Lookup ( Handle< String > source,
const ScriptDetails & script_details )

Definition at line 154 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::CompilationCacheScript::Put ( Handle< String > source,
DirectHandle< SharedFunctionInfo > function_info )

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

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

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