![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <identity-map.h>
Classes | |
| struct | Buffer |
| class | IteratableScope |
| class | Iterator |
Public Member Functions | |
| IdentityMap (Heap *heap, AllocationPolicy allocator=AllocationPolicy()) | |
| IdentityMap (const IdentityMap &)=delete | |
| IdentityMap & | operator= (const IdentityMap &)=delete |
| ~IdentityMap () override | |
| IdentityMapFindResult< V > | FindOrInsert (DirectHandle< Object > key) |
| IdentityMapFindResult< V > | FindOrInsert (Tagged< Object > key) |
| V * | Find (DirectHandle< Object > key) const |
| V * | Find (Tagged< Object > key) const |
| void | Insert (DirectHandle< Object > key, V v) |
| void | Insert (Tagged< Object > key, V v) |
| bool | Delete (DirectHandle< Object > key, V *deleted_value) |
| bool | Delete (Tagged< Object > key, V *deleted_value) |
| void | Clear () |
Public Member Functions inherited from v8::internal::IdentityMapBase | |
| IdentityMapBase (const IdentityMapBase &)=delete | |
| IdentityMapBase & | operator= (const IdentityMapBase &)=delete |
| bool | empty () const |
| int | size () const |
| int | capacity () const |
| bool | is_iterable () const |
Protected Member Functions | |
| uintptr_t * | NewPointerArray (size_t length, uintptr_t value) override |
| void | DeletePointerArray (uintptr_t *array, size_t length) override |
Protected Member Functions inherited from v8::internal::IdentityMapBase | |
| IdentityMapBase (Heap *heap) | |
| virtual | ~IdentityMapBase () |
| IdentityMapFindResult< uintptr_t > | FindOrInsertEntry (Address key) |
| RawEntry | FindEntry (Address key) const |
| RawEntry | InsertEntry (Address key) |
| bool | DeleteEntry (Address key, uintptr_t *deleted_value) |
| void | Clear () |
| Address | KeyAtIndex (int index) const |
| RawEntry | EntryAtIndex (int index) const |
| int | NextIndex (int index) const |
| void | EnableIteration () |
| void | DisableIteration () |
Private Attributes | |
| AllocationPolicy | allocator_ |
Additional Inherited Members | |
Protected Types inherited from v8::internal::IdentityMapBase | |
| using | RawEntry = uintptr_t* |
Definition at line 116 of file identity-map.h.
|
inlineexplicit |
Definition at line 122 of file identity-map.h.
|
delete |
|
inlineoverride |
|
inline |
Definition at line 170 of file identity-map.h.
|
inline |
Definition at line 157 of file identity-map.h.
|
inline |
|
inlineoverrideprotectedvirtual |
Implements v8::internal::IdentityMapBase.
Definition at line 239 of file identity-map.h.
|
inline |
Definition at line 145 of file identity-map.h.
|
inline |
|
inline |
Definition at line 133 of file identity-map.h.
|
inline |
|
inline |
Definition at line 152 of file identity-map.h.
|
inline |
|
inlineoverrideprotectedvirtual |
Implements v8::internal::IdentityMapBase.
Definition at line 233 of file identity-map.h.
|
delete |
|
private |
Definition at line 244 of file identity-map.h.