v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot Class Reference

#include <snapshot-table.h>

Collaboration diagram for v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot:

Public Member Functions

bool has_value () const
 
Snapshot value () const
 
void Set (Snapshot snapshot)
 
 MaybeSnapshot ()=default
 
 MaybeSnapshot (Snapshot snapshot)
 

Private Attributes

SnapshotDatadata_ = nullptr
 

Detailed Description

template<class Value, class KeyData = NoKeyData>
class v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot

Definition at line 118 of file snapshot-table.h.

Constructor & Destructor Documentation

◆ MaybeSnapshot() [1/2]

template<class Value , class KeyData = NoKeyData>
v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::MaybeSnapshot ( )
default

◆ MaybeSnapshot() [2/2]

template<class Value , class KeyData = NoKeyData>
v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::MaybeSnapshot ( Snapshot snapshot)
inlineexplicit

Definition at line 129 of file snapshot-table.h.

Member Function Documentation

◆ has_value()

template<class Value , class KeyData = NoKeyData>
bool v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::has_value ( ) const
inline

Definition at line 120 of file snapshot-table.h.

Here is the caller graph for this function:

◆ Set()

template<class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::Set ( Snapshot snapshot)
inline

Definition at line 126 of file snapshot-table.h.

◆ value()

template<class Value , class KeyData = NoKeyData>
Snapshot v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::value ( ) const
inline

Definition at line 121 of file snapshot-table.h.

Here is the call graph for this function:

Member Data Documentation

◆ data_

template<class Value , class KeyData = NoKeyData>
SnapshotData* v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::MaybeSnapshot::data_ = nullptr
private

Definition at line 132 of file snapshot-table.h.


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