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

#include <function-body-decoder-impl.h>

Collaboration diagram for v8::internal::wasm::FastZoneVector< T >:

Public Member Functions

 FastZoneVector ()=default
 
 FastZoneVector (int initial_size, Zone *zone)
 
void Reset (Zone *zone)
 
Tbegin () const
 
Tend () const
 
Tfront ()
 
Tback ()
 
uint32_t size () const
 
bool empty () const
 
Toperator[] (uint32_t index)
 
void shrink_to (uint32_t new_size)
 
void pop (uint32_t num=1)
 
void push (T value)
 
template<typename... Args>
void emplace_back (Args &&... args)
 
V8_INLINE void EnsureMoreCapacity (int slots_needed, Zone *zone)
 

Private Member Functions

V8_NOINLINE V8_PRESERVE_MOST void Grow (int slots_needed, Zone *zone)
 

Private Attributes

Tbegin_ = nullptr
 
Tend_ = nullptr
 
Tcapacity_end_ = nullptr
 

Detailed Description

template<typename T>
class v8::internal::wasm::FastZoneVector< T >

Definition at line 1517 of file function-body-decoder-impl.h.

Constructor & Destructor Documentation

◆ FastZoneVector() [1/2]

template<typename T >
v8::internal::wasm::FastZoneVector< T >::FastZoneVector ( )
default

◆ FastZoneVector() [2/2]

template<typename T >
v8::internal::wasm::FastZoneVector< T >::FastZoneVector ( int initial_size,
Zone * zone )
inlineexplicit

Definition at line 1520 of file function-body-decoder-impl.h.

Here is the call graph for this function:

Member Function Documentation

◆ back()

template<typename T >
T & v8::internal::wasm::FastZoneVector< T >::back ( )
inline

Definition at line 1552 of file function-body-decoder-impl.h.

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

◆ begin()

template<typename T >
T * v8::internal::wasm::FastZoneVector< T >::begin ( ) const
inline

Definition at line 1544 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ emplace_back()

template<typename T >
template<typename... Args>
void v8::internal::wasm::FastZoneVector< T >::emplace_back ( Args &&... args)
inline

Definition at line 1587 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ empty()

template<typename T >
bool v8::internal::wasm::FastZoneVector< T >::empty ( ) const
inline

Definition at line 1559 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ end()

template<typename T >
T * v8::internal::wasm::FastZoneVector< T >::end ( ) const
inline

Definition at line 1545 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ EnsureMoreCapacity()

template<typename T >
V8_INLINE void v8::internal::wasm::FastZoneVector< T >::EnsureMoreCapacity ( int slots_needed,
Zone * zone )
inline

Definition at line 1593 of file function-body-decoder-impl.h.

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

◆ front()

template<typename T >
T & v8::internal::wasm::FastZoneVector< T >::front ( )
inline

Definition at line 1547 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ Grow()

template<typename T >
V8_NOINLINE V8_PRESERVE_MOST void v8::internal::wasm::FastZoneVector< T >::Grow ( int slots_needed,
Zone * zone )
inlineprivate

Definition at line 1599 of file function-body-decoder-impl.h.

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

◆ operator[]()

template<typename T >
T & v8::internal::wasm::FastZoneVector< T >::operator[] ( uint32_t index)
inline

Definition at line 1561 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ pop()

template<typename T >
void v8::internal::wasm::FastZoneVector< T >::pop ( uint32_t num = 1)
inline

Definition at line 1572 of file function-body-decoder-impl.h.

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

◆ push()

template<typename T >
void v8::internal::wasm::FastZoneVector< T >::push ( T value)
inline

Definition at line 1580 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ Reset()

template<typename T >
void v8::internal::wasm::FastZoneVector< T >::Reset ( Zone * zone)
inline

Definition at line 1531 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ shrink_to()

template<typename T >
void v8::internal::wasm::FastZoneVector< T >::shrink_to ( uint32_t new_size)
inline

Definition at line 1566 of file function-body-decoder-impl.h.

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

◆ size()

template<typename T >
uint32_t v8::internal::wasm::FastZoneVector< T >::size ( ) const
inline

Definition at line 1557 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

Member Data Documentation

◆ begin_

template<typename T >
T* v8::internal::wasm::FastZoneVector< T >::begin_ = nullptr
private

Definition at line 1619 of file function-body-decoder-impl.h.

◆ capacity_end_

template<typename T >
T* v8::internal::wasm::FastZoneVector< T >::capacity_end_ = nullptr
private

Definition at line 1621 of file function-body-decoder-impl.h.

◆ end_

template<typename T >
T* v8::internal::wasm::FastZoneVector< T >::end_ = nullptr
private

Definition at line 1620 of file function-body-decoder-impl.h.


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