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

#include <feedback-vector.h>

Collaboration diagram for v8::internal::MapsAndHandlers:

Classes

class  Iterator
 

Public Member Functions

 MapsAndHandlers (Isolate *isolate)
 
bool empty () const
 
size_t size () const
 
void reserve (size_t capacity)
 
MapAndHandler operator[] (size_t i) const
 
void set_map (size_t i, DirectHandle< Map > map)
 
void set_handler (size_t i, MaybeObjectDirectHandle handler)
 
void emplace_back (DirectHandle< Map > map, MaybeObjectDirectHandle handler)
 
Iterator begin () const
 
Iterator end () const
 
base::Vector< DirectHandle< Map > > maps ()
 

Private Attributes

DirectHandleSmallVector< Map, DEFAULT_MAX_POLYMORPHIC_MAP_COUNTmaps_
 
DirectHandleSmallVector< Object, DEFAULT_MAX_POLYMORPHIC_MAP_COUNThandlers_
 
base::SmallVector< HeapObjectReferenceType, DEFAULT_MAX_POLYMORPHIC_MAP_COUNThandlers_reference_types_
 

Detailed Description

Definition at line 87 of file feedback-vector.h.

Constructor & Destructor Documentation

◆ MapsAndHandlers()

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

Definition at line 89 of file feedback-vector.h.

Member Function Documentation

◆ begin()

Iterator v8::internal::MapsAndHandlers::begin ( ) const
inline

Definition at line 170 of file feedback-vector.h.

◆ emplace_back()

void v8::internal::MapsAndHandlers::emplace_back ( DirectHandle< Map > map,
MaybeObjectDirectHandle handler )
inline

Definition at line 163 of file feedback-vector.h.

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

◆ empty()

bool v8::internal::MapsAndHandlers::empty ( ) const
inline

Definition at line 92 of file feedback-vector.h.

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

◆ end()

Iterator v8::internal::MapsAndHandlers::end ( ) const
inline

Definition at line 171 of file feedback-vector.h.

Here is the call graph for this function:

◆ maps()

base::Vector< DirectHandle< Map > > v8::internal::MapsAndHandlers::maps ( )
inline

Definition at line 173 of file feedback-vector.h.

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

◆ operator[]()

MapAndHandler v8::internal::MapsAndHandlers::operator[] ( size_t i) const
inline

Definition at line 99 of file feedback-vector.h.

Here is the call graph for this function:

◆ reserve()

void v8::internal::MapsAndHandlers::reserve ( size_t capacity)
inline

Definition at line 94 of file feedback-vector.h.

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

◆ set_handler()

void v8::internal::MapsAndHandlers::set_handler ( size_t i,
MaybeObjectDirectHandle handler )
inline

Definition at line 118 of file feedback-vector.h.

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

◆ set_map()

void v8::internal::MapsAndHandlers::set_map ( size_t i,
DirectHandle< Map > map )
inline

Definition at line 113 of file feedback-vector.h.

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

◆ size()

size_t v8::internal::MapsAndHandlers::size ( ) const
inline

Definition at line 93 of file feedback-vector.h.

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

Member Data Documentation

◆ handlers_

DirectHandleSmallVector<Object, DEFAULT_MAX_POLYMORPHIC_MAP_COUNT> v8::internal::MapsAndHandlers::handlers_
private

Definition at line 177 of file feedback-vector.h.

◆ handlers_reference_types_

base::SmallVector<HeapObjectReferenceType, DEFAULT_MAX_POLYMORPHIC_MAP_COUNT> v8::internal::MapsAndHandlers::handlers_reference_types_
private

Definition at line 179 of file feedback-vector.h.

◆ maps_

DirectHandleSmallVector<Map, DEFAULT_MAX_POLYMORPHIC_MAP_COUNT> v8::internal::MapsAndHandlers::maps_
private

Definition at line 176 of file feedback-vector.h.


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