#include <wasm-code-manager.h>
|
| WasmCode (NativeModule *native_module, int index, base::Vector< uint8_t > instructions, int stack_slots, int ool_spills, uint32_t tagged_parameter_slots, int safepoint_table_offset, int handler_table_offset, int constant_pool_offset, int code_comments_offset, int unpadded_binary_size, base::Vector< const uint8_t > protected_instructions_data, base::Vector< const uint8_t > reloc_info, base::Vector< const uint8_t > source_position_table, base::Vector< const uint8_t > inlining_positions, base::Vector< const uint8_t > deopt_data, Kind kind, ExecutionTier tier, ForDebugging for_debugging, uint64_t signature_hash, bool frame_has_feedback_slot=false) |
|
std::unique_ptr< const uint8_t[]> | ConcatenateBytes (std::initializer_list< base::Vector< const uint8_t > >) |
|
int | trap_handler_index () const |
|
void | set_trap_handler_index (int value) |
|
bool | has_trap_handler_index () const |
|
void | RegisterTrapHandlerData () |
|
V8_NOINLINE void | DecRefOnPotentiallyDeadCode () |
|
void | mark_as_dying () |
|
void | undo_mark_as_dying () |
|
Definition at line 90 of file wasm-code-manager.h.
◆ ExecutionTierField
◆ ForDebuggingField
◆ FrameHasFeedbackSlotField
◆ KindField
◆ FlushICache
◆ Kind
Enumerator |
---|
kWasmFunction | |
kWasmToCapiWrapper | |
kWasmToJsWrapper | |
kJumpTable | |
Definition at line 92 of file wasm-code-manager.h.
◆ WasmCode() [1/2]
v8::internal::wasm::WasmCode::WasmCode |
( |
const WasmCode & | | ) |
|
|
delete |
◆ ~WasmCode()
v8::internal::wasm::WasmCode::~WasmCode |
( |
| ) |
|
◆ WasmCode() [2/2]
v8::internal::wasm::WasmCode::WasmCode |
( |
NativeModule * | native_module, |
|
|
int | index, |
|
|
base::Vector< uint8_t > | instructions, |
|
|
int | stack_slots, |
|
|
int | ool_spills, |
|
|
uint32_t | tagged_parameter_slots, |
|
|
int | safepoint_table_offset, |
|
|
int | handler_table_offset, |
|
|
int | constant_pool_offset, |
|
|
int | code_comments_offset, |
|
|
int | unpadded_binary_size, |
|
|
base::Vector< const uint8_t > | protected_instructions_data, |
|
|
base::Vector< const uint8_t > | reloc_info, |
|
|
base::Vector< const uint8_t > | source_position_table, |
|
|
base::Vector< const uint8_t > | inlining_positions, |
|
|
base::Vector< const uint8_t > | deopt_data, |
|
|
Kind | kind, |
|
|
ExecutionTier | tier, |
|
|
ForDebugging | for_debugging, |
|
|
uint64_t | signature_hash, |
|
|
bool | frame_has_feedback_slot = false ) |
|
inlineprivate |
◆ code_comments()
Address v8::internal::wasm::WasmCode::code_comments |
( |
| ) |
const |
◆ code_comments_offset()
int v8::internal::wasm::WasmCode::code_comments_offset |
( |
| ) |
const |
|
inline |
◆ code_comments_size()
int v8::internal::wasm::WasmCode::code_comments_size |
( |
| ) |
const |
◆ ConcatenateBytes()
std::unique_ptr< const uint8_t[]> v8::internal::wasm::WasmCode::ConcatenateBytes |
( |
std::initializer_list< base::Vector< const uint8_t > > | vectors | ) |
|
|
private |
◆ constant_pool()
Address v8::internal::wasm::WasmCode::constant_pool |
( |
| ) |
const |
◆ constant_pool_offset()
int v8::internal::wasm::WasmCode::constant_pool_offset |
( |
| ) |
const |
|
inline |
◆ contains()
bool v8::internal::wasm::WasmCode::contains |
( |
Address | pc | ) |
const |
|
inline |
◆ DcheckRefCountIsOne()
void v8::internal::wasm::WasmCode::DcheckRefCountIsOne |
( |
| ) |
|
|
inline |
◆ DebugName()
std::string v8::internal::wasm::WasmCode::DebugName |
( |
| ) |
const |
◆ DecRef()
◆ DecRefOnDeadCode()
◆ DecRefOnLiveCode()
void v8::internal::wasm::WasmCode::DecRefOnLiveCode |
( |
| ) |
|
|
inline |
◆ DecRefOnPotentiallyDeadCode()
void v8::internal::wasm::WasmCode::DecRefOnPotentiallyDeadCode |
( |
| ) |
|
|
private |
◆ DecrementRefCount()
◆ deopt_data()
base::Vector< const uint8_t > v8::internal::wasm::WasmCode::deopt_data |
( |
| ) |
const |
|
inline |
◆ Disassemble()
void v8::internal::wasm::WasmCode::Disassemble |
( |
const char * | name, |
|
|
std::ostream & | os, |
|
|
Address | current_pc = kNullAddress ) const |
◆ EstimateCurrentMemoryConsumption()
size_t v8::internal::wasm::WasmCode::EstimateCurrentMemoryConsumption |
( |
| ) |
const |
◆ first_tagged_parameter_slot()
uint16_t v8::internal::wasm::WasmCode::first_tagged_parameter_slot |
( |
| ) |
const |
|
inline |
◆ for_debugging()
ForDebugging v8::internal::wasm::WasmCode::for_debugging |
( |
| ) |
const |
|
inline |
◆ frame_has_feedback_slot()
bool v8::internal::wasm::WasmCode::frame_has_feedback_slot |
( |
| ) |
const |
|
inline |
◆ GetInliningPosition()
std::tuple< int, bool, SourcePosition > v8::internal::wasm::WasmCode::GetInliningPosition |
( |
int | inlining_id | ) |
const |
◆ GetRecordWriteBuiltin()
◆ GetSourceOffsetBefore()
int v8::internal::wasm::WasmCode::GetSourceOffsetBefore |
( |
int | code_offset | ) |
|
◆ GetSourcePositionBefore()
SourcePosition v8::internal::wasm::WasmCode::GetSourcePositionBefore |
( |
int | code_offset | ) |
|
◆ handler_table()
Address v8::internal::wasm::WasmCode::handler_table |
( |
| ) |
const |
◆ handler_table_offset()
int v8::internal::wasm::WasmCode::handler_table_offset |
( |
| ) |
const |
|
inline |
◆ handler_table_size()
int v8::internal::wasm::WasmCode::handler_table_size |
( |
| ) |
const |
◆ has_trap_handler_index()
bool v8::internal::wasm::WasmCode::has_trap_handler_index |
( |
| ) |
const |
|
inlineprivate |
◆ IncRef()
void v8::internal::wasm::WasmCode::IncRef |
( |
| ) |
|
|
inline |
◆ index()
int v8::internal::wasm::WasmCode::index |
( |
| ) |
const |
|
inline |
◆ inlining_positions()
base::Vector< const uint8_t > v8::internal::wasm::WasmCode::inlining_positions |
( |
| ) |
const |
|
inline |
◆ instruction_start()
Address v8::internal::wasm::WasmCode::instruction_start |
( |
| ) |
const |
|
inline |
◆ instructions()
base::Vector< uint8_t > v8::internal::wasm::WasmCode::instructions |
( |
| ) |
const |
|
inline |
◆ instructions_size()
size_t v8::internal::wasm::WasmCode::instructions_size |
( |
| ) |
const |
|
inline |
◆ is_dying()
bool v8::internal::wasm::WasmCode::is_dying |
( |
| ) |
const |
|
inline |
◆ is_inspectable()
bool v8::internal::wasm::WasmCode::is_inspectable |
( |
| ) |
const |
|
inline |
◆ is_liftoff()
bool v8::internal::wasm::WasmCode::is_liftoff |
( |
| ) |
const |
|
inline |
◆ is_turbofan()
bool v8::internal::wasm::WasmCode::is_turbofan |
( |
| ) |
const |
|
inline |
◆ IsAnonymous()
bool v8::internal::wasm::WasmCode::IsAnonymous |
( |
| ) |
const |
|
inline |
◆ IsProtectedInstruction()
bool v8::internal::wasm::WasmCode::IsProtectedInstruction |
( |
Address | pc | ) |
|
◆ kind()
Kind v8::internal::wasm::WasmCode::kind |
( |
| ) |
const |
|
inline |
◆ LogCode()
void v8::internal::wasm::WasmCode::LogCode |
( |
Isolate * | isolate, |
|
|
const char * | source_url, |
|
|
int | script_id ) const |
◆ mark_as_dying()
void v8::internal::wasm::WasmCode::mark_as_dying |
( |
| ) |
|
|
inlineprivate |
◆ MaybePrint()
void v8::internal::wasm::WasmCode::MaybePrint |
( |
| ) |
const |
◆ native_module()
NativeModule * v8::internal::wasm::WasmCode::native_module |
( |
| ) |
const |
|
inline |
◆ num_tagged_parameter_slots()
uint16_t v8::internal::wasm::WasmCode::num_tagged_parameter_slots |
( |
| ) |
const |
|
inline |
◆ ool_spills()
int v8::internal::wasm::WasmCode::ool_spills |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ Print()
void v8::internal::wasm::WasmCode::Print |
( |
const char * | name = nullptr | ) |
const |
◆ protected_instructions()
◆ protected_instructions_data()
base::Vector< const uint8_t > v8::internal::wasm::WasmCode::protected_instructions_data |
( |
| ) |
const |
|
inline |
◆ raw_tagged_parameter_slots_for_serialization()
uint32_t v8::internal::wasm::WasmCode::raw_tagged_parameter_slots_for_serialization |
( |
| ) |
const |
|
inline |
◆ RegisterTrapHandlerData()
void v8::internal::wasm::WasmCode::RegisterTrapHandlerData |
( |
| ) |
|
|
private |
◆ reloc_info()
base::Vector< const uint8_t > v8::internal::wasm::WasmCode::reloc_info |
( |
| ) |
const |
|
inline |
◆ safepoint_table_offset()
int v8::internal::wasm::WasmCode::safepoint_table_offset |
( |
| ) |
const |
|
inline |
◆ set_trap_handler_index()
void v8::internal::wasm::WasmCode::set_trap_handler_index |
( |
int | value | ) |
|
|
inlineprivate |
◆ ShouldBeLogged()
bool v8::internal::wasm::WasmCode::ShouldBeLogged |
( |
Isolate * | isolate | ) |
|
|
static |
◆ signature_hash()
uint64_t v8::internal::wasm::WasmCode::signature_hash |
( |
| ) |
const |
|
inline |
◆ source_positions()
base::Vector< const uint8_t > v8::internal::wasm::WasmCode::source_positions |
( |
| ) |
const |
|
inline |
◆ stack_slots()
int v8::internal::wasm::WasmCode::stack_slots |
( |
| ) |
const |
|
inline |
◆ tier()
◆ trap_handler_index()
int v8::internal::wasm::WasmCode::trap_handler_index |
( |
| ) |
const |
|
inlineprivate |
◆ undo_mark_as_dying()
void v8::internal::wasm::WasmCode::undo_mark_as_dying |
( |
| ) |
|
|
inlineprivate |
◆ unpadded_binary_size()
int v8::internal::wasm::WasmCode::unpadded_binary_size |
( |
| ) |
const |
|
inline |
◆ Validate()
void v8::internal::wasm::WasmCode::Validate |
( |
| ) |
const |
◆ NativeModule
◆ WasmImportWrapperCache
◆ code_comments_offset_
const int v8::internal::wasm::WasmCode::code_comments_offset_ |
|
private |
◆ constant_pool_offset_
const int v8::internal::wasm::WasmCode::constant_pool_offset_ |
|
private |
◆ deopt_data_size_
const int v8::internal::wasm::WasmCode::deopt_data_size_ |
|
private |
◆ dying_
std::atomic<bool> v8::internal::wasm::WasmCode::dying_ {false} |
|
private |
◆ flags_
const uint8_t v8::internal::wasm::WasmCode::flags_ |
|
private |
◆ handler_table_offset_
const int v8::internal::wasm::WasmCode::handler_table_offset_ |
|
private |
◆ index_
const int v8::internal::wasm::WasmCode::index_ |
|
private |
◆ inlining_positions_size_
const int v8::internal::wasm::WasmCode::inlining_positions_size_ |
|
private |
◆ instructions_
uint8_t* const v8::internal::wasm::WasmCode::instructions_ |
|
private |
◆ instructions_size_
const int v8::internal::wasm::WasmCode::instructions_size_ |
|
private |
◆ meta_data_
std::unique_ptr<const uint8_t[]> v8::internal::wasm::WasmCode::meta_data_ |
|
private |
◆ native_module_
NativeModule* const v8::internal::wasm::WasmCode::native_module_ = nullptr |
|
private |
◆ ool_spills_
const int v8::internal::wasm::WasmCode::ool_spills_ |
|
private |
◆ protected_instructions_size_
const int v8::internal::wasm::WasmCode::protected_instructions_size_ |
|
private |
◆ ref_count_
std::atomic<int> v8::internal::wasm::WasmCode::ref_count_ {1} |
|
private |
◆ reloc_info_size_
const int v8::internal::wasm::WasmCode::reloc_info_size_ |
|
private |
◆ safepoint_table_offset_
const int v8::internal::wasm::WasmCode::safepoint_table_offset_ |
|
private |
◆ signature_hash_
const uint64_t v8::internal::wasm::WasmCode::signature_hash_ |
|
private |
◆ source_positions_size_
const int v8::internal::wasm::WasmCode::source_positions_size_ |
|
private |
◆ stack_slots_
const int v8::internal::wasm::WasmCode::stack_slots_ |
|
private |
◆ tagged_parameter_slots_
const uint32_t v8::internal::wasm::WasmCode::tagged_parameter_slots_ |
|
private |
◆ trap_handler_index_
int v8::internal::wasm::WasmCode::trap_handler_index_ = -1 |
|
private |
◆ unpadded_binary_size_
const int v8::internal::wasm::WasmCode::unpadded_binary_size_ |
|
private |
The documentation for this class was generated from the following files: