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

Public Member Functions

 CompileTask (AsyncCompileJob *job, bool on_foreground)
 
 ~CompileTask () override
 
void RunInternal () final
 
void Cancel ()
 
- Public Member Functions inherited from v8::internal::CancelableTask
 CancelableTask (Isolate *isolate)
 
 CancelableTask (CancelableTaskManager *manager)
 
 CancelableTask (const CancelableTask &)=delete
 
CancelableTaskoperator= (const CancelableTask &)=delete
 
void Run () final
 
- Public Member Functions inherited from v8::internal::Cancelable
 Cancelable (CancelableTaskManager *parent)
 
virtual ~Cancelable ()
 
 Cancelable (const Cancelable &)=delete
 
Cancelableoperator= (const Cancelable &)=delete
 
CancelableTaskManager::Id id ()
 

Private Member Functions

void ResetPendingForegroundTask () const
 

Private Attributes

AsyncCompileJobjob_
 
bool on_foreground_
 

Additional Inherited Members

- Protected Types inherited from v8::internal::Cancelable
enum  Status { kWaiting , kCanceled , kRunning }
 
- Protected Member Functions inherited from v8::internal::Cancelable
bool TryRun (Status *previous=nullptr)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CompileTask()

v8::internal::wasm::AsyncCompileJob::CompileTask::CompileTask ( AsyncCompileJob * job,
bool on_foreground )
inline

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

◆ ~CompileTask()

v8::internal::wasm::AsyncCompileJob::CompileTask::~CompileTask ( )
inlineoverride

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

Here is the call graph for this function:

Member Function Documentation

◆ Cancel()

void v8::internal::wasm::AsyncCompileJob::CompileTask::Cancel ( )
inline

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

Here is the caller graph for this function:

◆ ResetPendingForegroundTask()

void v8::internal::wasm::AsyncCompileJob::CompileTask::ResetPendingForegroundTask ( ) const
inlineprivate

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

Here is the caller graph for this function:

◆ RunInternal()

void v8::internal::wasm::AsyncCompileJob::CompileTask::RunInternal ( )
inlinefinalvirtual

Implements v8::internal::CancelableTask.

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

Here is the call graph for this function:

Member Data Documentation

◆ job_

AsyncCompileJob* v8::internal::wasm::AsyncCompileJob::CompileTask::job_
private

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

◆ on_foreground_

bool v8::internal::wasm::AsyncCompileJob::CompileTask::on_foreground_
private

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


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