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

#include <wasm-module.h>

Collaboration diagram for v8::internal::wasm::LazilyGeneratedNames:

Public Member Functions

WireBytesRef LookupFunctionName (ModuleWireBytes wire_bytes, uint32_t function_index)
 
void AddForTesting (int function_index, WireBytesRef name)
 
bool Has (uint32_t function_index)
 
size_t EstimateCurrentMemoryConsumption () const
 

Private Attributes

base::Mutex mutex_
 
bool has_functions_ {false}
 
NameMap function_names_
 

Detailed Description

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

Member Function Documentation

◆ AddForTesting()

void v8::internal::wasm::LazilyGeneratedNames::AddForTesting ( int function_index,
WireBytesRef name )

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

Here is the call graph for this function:

◆ EstimateCurrentMemoryConsumption()

size_t v8::internal::wasm::LazilyGeneratedNames::EstimateCurrentMemoryConsumption ( ) const

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

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

◆ Has()

bool v8::internal::wasm::LazilyGeneratedNames::Has ( uint32_t function_index)

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

Here is the call graph for this function:

◆ LookupFunctionName()

WireBytesRef v8::internal::wasm::LazilyGeneratedNames::LookupFunctionName ( ModuleWireBytes wire_bytes,
uint32_t function_index )

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

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

Member Data Documentation

◆ function_names_

NameMap v8::internal::wasm::LazilyGeneratedNames::function_names_
private

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

◆ has_functions_

bool v8::internal::wasm::LazilyGeneratedNames::has_functions_ {false}
private

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

◆ mutex_

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

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


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