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

#include <wasm-module.h>

Collaboration diagram for v8::internal::wasm::ModuleWireBytes:

Public Member Functions

 ModuleWireBytes (base::Vector< const uint8_t > module_bytes)
 
constexpr ModuleWireBytes (const uint8_t *start, const uint8_t *end)
 
bool operator== (const ModuleWireBytes &other) const =default
 
WasmName GetNameOrNull (WireBytesRef ref) const
 
WasmName GetNameOrNull (int func_index, const WasmModule *module) const
 
bool BoundsCheck (WireBytesRef ref) const
 
base::Vector< const uint8_t > GetFunctionBytes (const WasmFunction *function) const
 
base::Vector< const uint8_t > module_bytes () const
 
const uint8_t * start () const
 
const uint8_t * end () const
 
size_t length () const
 

Private Attributes

base::Vector< const uint8_t > module_bytes_
 

Detailed Description

Definition at line 1030 of file wasm-module.h.

Constructor & Destructor Documentation

◆ ModuleWireBytes() [1/2]

v8::internal::wasm::ModuleWireBytes::ModuleWireBytes ( base::Vector< const uint8_t > module_bytes)
inlineexplicit

Definition at line 1031 of file wasm-module.h.

◆ ModuleWireBytes() [2/2]

v8::internal::wasm::ModuleWireBytes::ModuleWireBytes ( const uint8_t * start,
const uint8_t * end )
inlineconstexpr

Definition at line 1033 of file wasm-module.h.

Member Function Documentation

◆ BoundsCheck()

bool v8::internal::wasm::ModuleWireBytes::BoundsCheck ( WireBytesRef ref) const
inline

Definition at line 1047 of file wasm-module.h.

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

◆ end()

const uint8_t * v8::internal::wasm::ModuleWireBytes::end ( ) const
inline

Definition at line 1060 of file wasm-module.h.

◆ GetFunctionBytes()

base::Vector< const uint8_t > v8::internal::wasm::ModuleWireBytes::GetFunctionBytes ( const WasmFunction * function) const
inline

Definition at line 1052 of file wasm-module.h.

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

◆ GetNameOrNull() [1/2]

WasmName v8::internal::wasm::ModuleWireBytes::GetNameOrNull ( int func_index,
const WasmModule * module ) const

Definition at line 196 of file wasm-module.cc.

Here is the call graph for this function:

◆ GetNameOrNull() [2/2]

WasmName v8::internal::wasm::ModuleWireBytes::GetNameOrNull ( WireBytesRef ref) const

Definition at line 188 of file wasm-module.cc.

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

◆ length()

size_t v8::internal::wasm::ModuleWireBytes::length ( ) const
inline

Definition at line 1061 of file wasm-module.h.

Here is the caller graph for this function:

◆ module_bytes()

base::Vector< const uint8_t > v8::internal::wasm::ModuleWireBytes::module_bytes ( ) const
inline

Definition at line 1058 of file wasm-module.h.

Here is the caller graph for this function:

◆ operator==()

bool v8::internal::wasm::ModuleWireBytes::operator== ( const ModuleWireBytes & other) const
default

◆ start()

const uint8_t * v8::internal::wasm::ModuleWireBytes::start ( ) const
inline

Definition at line 1059 of file wasm-module.h.

Here is the caller graph for this function:

Member Data Documentation

◆ module_bytes_

base::Vector<const uint8_t> v8::internal::wasm::ModuleWireBytes::module_bytes_
private

Definition at line 1064 of file wasm-module.h.


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