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

#include <wasm-module.h>

Collaboration diagram for v8::internal::wasm::AsmJsOffsetInformation:

Public Member Functions

 AsmJsOffsetInformation (base::Vector< const uint8_t > encoded_offsets)
 
 ~AsmJsOffsetInformation ()
 
int GetSourcePosition (int func_index, int byte_offset, bool is_at_number_conversion)
 
std::pair< int, int > GetFunctionOffsets (int func_index)
 

Private Member Functions

void EnsureDecodedOffsets ()
 

Private Attributes

base::Mutex mutex_
 
base::OwnedVector< const uint8_t > encoded_offsets_
 
std::unique_ptr< AsmJsOffsetsdecoded_offsets_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AsmJsOffsetInformation()

v8::internal::wasm::AsmJsOffsetInformation::AsmJsOffsetInformation ( base::Vector< const uint8_t > encoded_offsets)
explicit

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

◆ ~AsmJsOffsetInformation()

v8::internal::wasm::AsmJsOffsetInformation::~AsmJsOffsetInformation ( )
default
Here is the call graph for this function:

Member Function Documentation

◆ EnsureDecodedOffsets()

void v8::internal::wasm::AsmJsOffsetInformation::EnsureDecodedOffsets ( )
private

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

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

◆ GetFunctionOffsets()

std::pair< int, int > v8::internal::wasm::AsmJsOffsetInformation::GetFunctionOffsets ( int func_index)

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

Here is the call graph for this function:

◆ GetSourcePosition()

int v8::internal::wasm::AsmJsOffsetInformation::GetSourcePosition ( int func_index,
int byte_offset,
bool is_at_number_conversion )

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

Here is the call graph for this function:

Member Data Documentation

◆ decoded_offsets_

std::unique_ptr<AsmJsOffsets> v8::internal::wasm::AsmJsOffsetInformation::decoded_offsets_
private

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

◆ encoded_offsets_

base::OwnedVector<const uint8_t> v8::internal::wasm::AsmJsOffsetInformation::encoded_offsets_
private

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

◆ mutex_

base::Mutex v8::internal::wasm::AsmJsOffsetInformation::mutex_
mutableprivate

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


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