v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice Struct Referencefinal
Inheritance diagram for v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice:
Collaboration diagram for v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice:

Public Member Functions

 ConstantArraySlice (Zone *zone, size_t start_index, size_t capacity, OperandSize operand_size)
 
 ConstantArraySlice (const ConstantArraySlice &)=delete
 
ConstantArraySliceoperator= (const ConstantArraySlice &)=delete
 
void Reserve ()
 
void Unreserve ()
 
size_t Allocate (Entry entry, size_t count=1)
 
EntryAt (size_t index)
 
const EntryAt (size_t index) const
 
size_t available () const
 
size_t reserved () const
 
size_t capacity () const
 
size_t size () const
 
size_t start_index () const
 
size_t max_index () const
 
OperandSize operand_size () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Attributes

const size_t start_index_
 
const size_t capacity_
 
size_t reserved_
 
OperandSize operand_size_
 
ZoneVector< Entryconstants_
 

Detailed Description

Definition at line 202 of file constant-array-builder.h.

Constructor & Destructor Documentation

◆ ConstantArraySlice() [1/2]

v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::ConstantArraySlice ( Zone * zone,
size_t start_index,
size_t capacity,
OperandSize operand_size )

Definition at line 24 of file constant-array-builder.cc.

◆ ConstantArraySlice() [2/2]

v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::ConstantArraySlice ( const ConstantArraySlice & )
delete

Member Function Documentation

◆ Allocate()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::Allocate ( ConstantArrayBuilder::Entry entry,
size_t count = 1 )

Definition at line 43 of file constant-array-builder.cc.

Here is the caller graph for this function:

◆ At() [1/2]

ConstantArrayBuilder::Entry & v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::At ( size_t index)

Definition at line 54 of file constant-array-builder.cc.

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

◆ At() [2/2]

const ConstantArrayBuilder::Entry & v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::At ( size_t index) const

Definition at line 61 of file constant-array-builder.cc.

Here is the call graph for this function:

◆ available()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::available ( ) const
inline

Definition at line 219 of file constant-array-builder.h.

◆ capacity()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::capacity ( ) const
inline

Definition at line 221 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ max_index()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::max_index ( ) const
inline

Definition at line 224 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ operand_size()

OperandSize v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::operand_size ( ) const
inline

Definition at line 225 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ operator=()

ConstantArraySlice & v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::operator= ( const ConstantArraySlice & )
delete

◆ Reserve()

void v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::Reserve ( )

Definition at line 32 of file constant-array-builder.cc.

Here is the caller graph for this function:

◆ reserved()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::reserved ( ) const
inline

Definition at line 220 of file constant-array-builder.h.

◆ size()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::size ( ) const
inline

Definition at line 222 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ start_index()

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::start_index ( ) const
inline

Definition at line 223 of file constant-array-builder.h.

Here is the caller graph for this function:

◆ Unreserve()

void v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::Unreserve ( )

Definition at line 38 of file constant-array-builder.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ capacity_

const size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::capacity_
private

Definition at line 229 of file constant-array-builder.h.

◆ constants_

ZoneVector<Entry> v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::constants_
private

Definition at line 232 of file constant-array-builder.h.

◆ operand_size_

OperandSize v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::operand_size_
private

Definition at line 231 of file constant-array-builder.h.

◆ reserved_

size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::reserved_
private

Definition at line 230 of file constant-array-builder.h.

◆ start_index_

const size_t v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice::start_index_
private

Definition at line 228 of file constant-array-builder.h.


The documentation for this struct was generated from the following files: