![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <compilation-cache.h>
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< CompilationCacheTable > | GetTable () |
| 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 | |
| Isolate * | isolate () const |
| DISALLOW_IMPLICIT_CONSTRUCTORS (CompilationCacheEvalOrScript) | |
Protected Attributes inherited from v8::internal::CompilationCacheEvalOrScript | |
| Isolate *const | isolate_ |
| Tagged< Object > | table_ |
Definition at line 49 of file compilation-cache.h.
Definition at line 54 of file compilation-cache.h.
|
inlineexplicit |
Definition at line 51 of file compilation-cache.h.
| void v8::internal::CompilationCacheScript::Age | ( | ) |
Definition at line 66 of file compilation-cache.cc.
|
private |
| CompilationCacheScript::LookupResult v8::internal::CompilationCacheScript::Lookup | ( | Handle< String > | source, |
| const ScriptDetails & | script_details ) |
Definition at line 154 of file compilation-cache.cc.
| void v8::internal::CompilationCacheScript::Put | ( | Handle< String > | source, |
| DirectHandle< SharedFunctionInfo > | function_info ) |
Definition at line 189 of file compilation-cache.cc.