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

#include <wasm-arguments.h>

Collaboration diagram for v8::internal::wasm::CWasmArgumentsPacker:

Public Member Functions

 CWasmArgumentsPacker (size_t buffer_size)
 
i::Address argv () const
 
void Reset ()
 
template<typename T >
void Push (T val)
 
template<typename T >
T Pop ()
 

Static Public Member Functions

static int TotalSize (const CanonicalSig *sig)
 

Private Attributes

uint8_t on_stack_buffer_ [kMaxOnStackBuffer]
 
std::vector< uint8_t > heap_buffer_
 
uint8_t * buffer_
 
size_t offset_ = 0
 

Static Private Attributes

static const size_t kMaxOnStackBuffer = 10 * i::kSystemPointerSize
 

Detailed Description

Definition at line 29 of file wasm-arguments.h.

Constructor & Destructor Documentation

◆ CWasmArgumentsPacker()

v8::internal::wasm::CWasmArgumentsPacker::CWasmArgumentsPacker ( size_t buffer_size)
inlineexplicit

Definition at line 31 of file wasm-arguments.h.

Member Function Documentation

◆ argv()

i::Address v8::internal::wasm::CWasmArgumentsPacker::argv ( ) const
inline

Definition at line 35 of file wasm-arguments.h.

Here is the caller graph for this function:

◆ Pop()

template<typename T >
T v8::internal::wasm::CWasmArgumentsPacker::Pop ( )
inline

Definition at line 46 of file wasm-arguments.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::CWasmArgumentsPacker::Push ( T val)
inline

Definition at line 39 of file wasm-arguments.h.

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

◆ Reset()

void v8::internal::wasm::CWasmArgumentsPacker::Reset ( )
inline

Definition at line 36 of file wasm-arguments.h.

Here is the caller graph for this function:

◆ TotalSize()

static int v8::internal::wasm::CWasmArgumentsPacker::TotalSize ( const CanonicalSig * sig)
inlinestatic

Definition at line 52 of file wasm-arguments.h.

Here is the caller graph for this function:

Member Data Documentation

◆ buffer_

uint8_t* v8::internal::wasm::CWasmArgumentsPacker::buffer_
private

Definition at line 69 of file wasm-arguments.h.

◆ heap_buffer_

std::vector<uint8_t> v8::internal::wasm::CWasmArgumentsPacker::heap_buffer_
private

Definition at line 68 of file wasm-arguments.h.

◆ kMaxOnStackBuffer

const size_t v8::internal::wasm::CWasmArgumentsPacker::kMaxOnStackBuffer = 10 * i::kSystemPointerSize
staticprivate

Definition at line 65 of file wasm-arguments.h.

◆ offset_

size_t v8::internal::wasm::CWasmArgumentsPacker::offset_ = 0
private

Definition at line 70 of file wasm-arguments.h.

◆ on_stack_buffer_

uint8_t v8::internal::wasm::CWasmArgumentsPacker::on_stack_buffer_[kMaxOnStackBuffer]
private

Definition at line 67 of file wasm-arguments.h.


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