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

Public Member Functions

 PrepareAndStartCompile (std::shared_ptr< const WasmModule > module, bool start_compilation, bool lazy_functions_are_validated, size_t code_size_estimate)
 
- Public Member Functions inherited from v8::internal::wasm::AsyncCompileJob::CompileStep
virtual ~CompileStep ()=default
 
void Run (AsyncCompileJob *job, bool on_foreground)
 
virtual void RunInBackground (AsyncCompileJob *)
 

Private Member Functions

void RunInForeground (AsyncCompileJob *job) override
 

Private Attributes

const std::shared_ptr< const WasmModulemodule_
 
const bool start_compilation_
 
const bool lazy_functions_are_validated_
 
const size_t code_size_estimate_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PrepareAndStartCompile()

v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::PrepareAndStartCompile ( std::shared_ptr< const WasmModule > module,
bool start_compilation,
bool lazy_functions_are_validated,
size_t code_size_estimate )
inline

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

Member Function Documentation

◆ RunInForeground()

void v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::RunInForeground ( AsyncCompileJob * job)
inlineoverrideprivatevirtual

Reimplemented from v8::internal::wasm::AsyncCompileJob::CompileStep.

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

Here is the call graph for this function:

Member Data Documentation

◆ code_size_estimate_

const size_t v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::code_size_estimate_
private

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

◆ lazy_functions_are_validated_

const bool v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::lazy_functions_are_validated_
private

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

◆ module_

const std::shared_ptr<const WasmModule> v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::module_
private

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

◆ start_compilation_

const bool v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::start_compilation_
private

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


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