![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <compilation-cache-table-inl.h>
Public Types | |
| enum | Index { kHash , kWeakScript , kEnd } |
Public Member Functions | |
| ScriptCacheKey (Handle< String > source, const ScriptDetails *script_details, Isolate *isolate) | |
| ScriptCacheKey (Handle< String > source, MaybeHandle< Object > name, int line_offset, int column_offset, v8::ScriptOriginOptions origin_options, MaybeHandle< Object > host_defined_options, MaybeHandle< FixedArray > maybe_wrapped_arguments, Isolate *isolate) | |
| bool | IsMatch (Tagged< Object > other) override |
| bool | MatchesScript (Tagged< Script > script) |
| DirectHandle< Object > | AsHandle (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared) |
Public Member Functions inherited from v8::internal::HashTableKey | |
| HashTableKey (uint32_t hash) | |
| virtual | ~HashTableKey ()=default |
| uint32_t | Hash () const |
Static Public Member Functions | |
| static std::optional< Tagged< String > > | SourceFromObject (Tagged< Object > obj) |
Private Attributes | |
| Handle< String > | source_ |
| MaybeHandle< Object > | name_ |
| int | line_offset_ |
| int | column_offset_ |
| v8::ScriptOriginOptions | origin_options_ |
| MaybeHandle< Object > | host_defined_options_ |
| MaybeHandle< FixedArray > | wrapped_arguments_ |
| Isolate * | isolate_ |
Additional Inherited Members | |
Protected Member Functions inherited from v8::internal::HashTableKey | |
| void | set_hash (uint32_t hash) |
Definition at line 55 of file compilation-cache-table-inl.h.
| Enumerator | |
|---|---|
| kHash | |
| kWeakScript | |
| kEnd | |
Definition at line 57 of file compilation-cache-table-inl.h.
| v8::internal::ScriptCacheKey::ScriptCacheKey | ( | Handle< String > | source, |
| const ScriptDetails * | script_details, | ||
| Isolate * | isolate ) |
Definition at line 337 of file compilation-cache-table.cc.
| v8::internal::ScriptCacheKey::ScriptCacheKey | ( | Handle< String > | source, |
| MaybeHandle< Object > | name, | ||
| int | line_offset, | ||
| int | column_offset, | ||
| v8::ScriptOriginOptions | origin_options, | ||
| MaybeHandle< Object > | host_defined_options, | ||
| MaybeHandle< FixedArray > | maybe_wrapped_arguments, | ||
| Isolate * | isolate ) |
Definition at line 346 of file compilation-cache-table.cc.
| DirectHandle< Object > v8::internal::ScriptCacheKey::AsHandle | ( | Isolate * | isolate, |
| DirectHandle< SharedFunctionInfo > | shared ) |
Definition at line 400 of file compilation-cache-table.cc.
Implements v8::internal::HashTableKey.
Definition at line 377 of file compilation-cache-table.cc.
Definition at line 258 of file compilation-cache-table.cc.
|
inlinestatic |
Definition at line 78 of file compilation-cache-table-inl.h.
|
private |
Definition at line 100 of file compilation-cache-table-inl.h.
|
private |
Definition at line 102 of file compilation-cache-table-inl.h.
|
private |
Definition at line 104 of file compilation-cache-table-inl.h.
|
private |
Definition at line 99 of file compilation-cache-table-inl.h.
|
private |
Definition at line 98 of file compilation-cache-table-inl.h.
|
private |
Definition at line 101 of file compilation-cache-table-inl.h.
Definition at line 97 of file compilation-cache-table-inl.h.
|
private |
Definition at line 103 of file compilation-cache-table-inl.h.