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

#include <zone-allocator.h>

Inheritance diagram for v8::internal::ZoneAllocator< T >:
Collaboration diagram for v8::internal::ZoneAllocator< T >:

Public Types

using value_type = T
 

Public Member Functions

 ZoneAllocator (Zone *zone)
 
template<typename U >
 ZoneAllocator (const ZoneAllocator< U > &other) V8_NOEXCEPT
 
Tallocate (size_t length)
 
void deallocate (T *p, size_t length)
 
bool operator== (ZoneAllocator const &other) const
 
bool operator!= (ZoneAllocator const &other) const
 
Zonezone () const
 

Private Attributes

Zonezone_
 

Detailed Description

template<typename T>
class v8::internal::ZoneAllocator< T >

Definition at line 16 of file zone-allocator.h.

Member Typedef Documentation

◆ value_type

template<typename T >
using v8::internal::ZoneAllocator< T >::value_type = T

Definition at line 18 of file zone-allocator.h.

Constructor & Destructor Documentation

◆ ZoneAllocator() [1/2]

template<typename T >
v8::internal::ZoneAllocator< T >::ZoneAllocator ( Zone * zone)
inlineexplicit

Definition at line 34 of file zone-allocator.h.

Here is the call graph for this function:

◆ ZoneAllocator() [2/2]

template<typename T >
template<typename U >
v8::internal::ZoneAllocator< T >::ZoneAllocator ( const ZoneAllocator< U > & other)
inline

Definition at line 41 of file zone-allocator.h.

Here is the call graph for this function:

Member Function Documentation

◆ allocate()

template<typename T >
T * v8::internal::ZoneAllocator< T >::allocate ( size_t length)
inline

Definition at line 49 of file zone-allocator.h.

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

◆ deallocate()

template<typename T >
void v8::internal::ZoneAllocator< T >::deallocate ( T * p,
size_t length )
inline

Definition at line 50 of file zone-allocator.h.

Here is the call graph for this function:

◆ operator!=()

template<typename T >
bool v8::internal::ZoneAllocator< T >::operator!= ( ZoneAllocator< T > const & other) const
inline

Definition at line 55 of file zone-allocator.h.

◆ operator==()

template<typename T >
bool v8::internal::ZoneAllocator< T >::operator== ( ZoneAllocator< T > const & other) const
inline

Definition at line 52 of file zone-allocator.h.

◆ zone()

template<typename T >
Zone * v8::internal::ZoneAllocator< T >::zone ( ) const
inline

Definition at line 59 of file zone-allocator.h.

Member Data Documentation

◆ zone_

template<typename T >
Zone* v8::internal::ZoneAllocator< T >::zone_
private

Definition at line 62 of file zone-allocator.h.


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