![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <bootstrapper.h>
Public Member Functions | |
SourceCodeCache (Script::Type type) | |
SourceCodeCache (const SourceCodeCache &)=delete | |
SourceCodeCache & | operator= (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< FixedArray > | cache_ |
Definition at line 23 of file bootstrapper.h.
|
inlineexplicit |
Definition at line 25 of file bootstrapper.h.
|
delete |
void v8::internal::SourceCodeCache::Add | ( | Isolate * | isolate, |
base::Vector< const char > | name, | ||
DirectHandle< SharedFunctionInfo > | shared ) |
void v8::internal::SourceCodeCache::Iterate | ( | RootVisitor * | v | ) |
Definition at line 101 of file bootstrapper.cc.
bool v8::internal::SourceCodeCache::Lookup | ( | Isolate * | isolate, |
base::Vector< const char > | name, | ||
DirectHandle< SharedFunctionInfo > * | handle ) |
|
delete |
|
private |
Definition at line 41 of file bootstrapper.h.
|
private |
Definition at line 40 of file bootstrapper.h.