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

#include <compilation-environment.h>

Collaboration diagram for v8::internal::wasm::CompilationState:

Public Member Functions

 ~CompilationState ()
 
void operator delete (void *ptr)
 
 CompilationState ()=delete
 
void InitCompileJob ()
 
void CancelCompilation ()
 
void CancelInitialCompilation ()
 
void SetError ()
 
void SetWireBytesStorage (std::shared_ptr< WireBytesStorage >)
 
std::shared_ptr< WireBytesStorageGetWireBytesStorage () const
 
void AddCallback (std::unique_ptr< CompilationEventCallback > callback)
 
void InitializeAfterDeserialization (base::Vector< const int > lazy_functions, base::Vector< const int > eager_functions)
 
void SetHighPriority ()
 
void TierUpAllFunctions ()
 
void AllowAnotherTopTierJob (uint32_t func_index)
 
void AllowAnotherTopTierJobForAllFunctions ()
 
bool failed () const
 
bool baseline_compilation_finished () const
 
void set_compilation_id (int compilation_id)
 
size_t EstimateCurrentMemoryConsumption () const
 
std::vector< WasmCode * > PublishCode (base::Vector< UnpublishedWasmCode > unpublished_code)
 
WasmDetectedFeatures detected_features () const
 
V8_WARN_UNUSED_RESULT WasmDetectedFeatures UpdateDetectedFeatures (WasmDetectedFeatures)
 

Static Private Member Functions

static std::unique_ptr< CompilationStateNew (const std::shared_ptr< NativeModule > &, std::shared_ptr< Counters >, WasmDetectedFeatures detected_features)
 

Friends

class NativeModule
 

Detailed Description

Definition at line 121 of file compilation-environment.h.

Constructor & Destructor Documentation

◆ ~CompilationState()

v8::internal::wasm::CompilationState::~CompilationState ( )

Definition at line 885 of file module-compiler.cc.

◆ CompilationState()

v8::internal::wasm::CompilationState::CompilationState ( )
delete

Member Function Documentation

◆ AddCallback()

void v8::internal::wasm::CompilationState::AddCallback ( std::unique_ptr< CompilationEventCallback > callback)

Definition at line 910 of file module-compiler.cc.

◆ AllowAnotherTopTierJob()

void v8::internal::wasm::CompilationState::AllowAnotherTopTierJob ( uint32_t func_index)

Definition at line 919 of file module-compiler.cc.

◆ AllowAnotherTopTierJobForAllFunctions()

void v8::internal::wasm::CompilationState::AllowAnotherTopTierJobForAllFunctions ( )

Definition at line 923 of file module-compiler.cc.

◆ baseline_compilation_finished()

bool v8::internal::wasm::CompilationState::baseline_compilation_finished ( ) const

Definition at line 936 of file module-compiler.cc.

◆ CancelCompilation()

void v8::internal::wasm::CompilationState::CancelCompilation ( )

Definition at line 889 of file module-compiler.cc.

◆ CancelInitialCompilation()

void v8::internal::wasm::CompilationState::CancelInitialCompilation ( )

Definition at line 893 of file module-compiler.cc.

◆ detected_features()

WasmDetectedFeatures v8::internal::wasm::CompilationState::detected_features ( ) const

Definition at line 963 of file module-compiler.cc.

◆ EstimateCurrentMemoryConsumption()

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

Definition at line 944 of file module-compiler.cc.

◆ failed()

bool v8::internal::wasm::CompilationState::failed ( ) const

Definition at line 934 of file module-compiler.cc.

Here is the caller graph for this function:

◆ GetWireBytesStorage()

std::shared_ptr< WireBytesStorage > v8::internal::wasm::CompilationState::GetWireBytesStorage ( ) const

Definition at line 905 of file module-compiler.cc.

Here is the caller graph for this function:

◆ InitCompileJob()

void v8::internal::wasm::CompilationState::InitCompileJob ( )

Definition at line 887 of file module-compiler.cc.

◆ InitializeAfterDeserialization()

void v8::internal::wasm::CompilationState::InitializeAfterDeserialization ( base::Vector< const int > lazy_functions,
base::Vector< const int > eager_functions )

Definition at line 927 of file module-compiler.cc.

◆ New()

std::unique_ptr< CompilationState > v8::internal::wasm::CompilationState::New ( const std::shared_ptr< NativeModule > & native_module,
std::shared_ptr< Counters > async_counters,
WasmDetectedFeatures detected_features )
staticprivate

Definition at line 954 of file module-compiler.cc.

Here is the caller graph for this function:

◆ operator delete()

void v8::internal::wasm::CompilationState::operator delete ( void * ptr)
inline

Definition at line 127 of file compilation-environment.h.

◆ PublishCode()

std::vector< WasmCode * > v8::internal::wasm::CompilationState::PublishCode ( base::Vector< UnpublishedWasmCode > unpublished_code)

Definition at line 948 of file module-compiler.cc.

◆ set_compilation_id()

void v8::internal::wasm::CompilationState::set_compilation_id ( int compilation_id)

Definition at line 940 of file module-compiler.cc.

◆ SetError()

void v8::internal::wasm::CompilationState::SetError ( )

Definition at line 898 of file module-compiler.cc.

Here is the caller graph for this function:

◆ SetHighPriority()

void v8::internal::wasm::CompilationState::SetHighPriority ( )

◆ SetWireBytesStorage()

void v8::internal::wasm::CompilationState::SetWireBytesStorage ( std::shared_ptr< WireBytesStorage > wire_bytes_storage)

Definition at line 900 of file module-compiler.cc.

◆ TierUpAllFunctions()

void v8::internal::wasm::CompilationState::TierUpAllFunctions ( )

Definition at line 915 of file module-compiler.cc.

◆ UpdateDetectedFeatures()

WasmDetectedFeatures v8::internal::wasm::CompilationState::UpdateDetectedFeatures ( WasmDetectedFeatures detected_features)

Definition at line 967 of file module-compiler.cc.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ NativeModule

friend class NativeModule
friend

Definition at line 178 of file compilation-environment.h.


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