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

#include <maglev-graph-builder.h>

Inheritance diagram for v8::internal::maglev::MaybeReduceResult:
Collaboration diagram for v8::internal::maglev::MaybeReduceResult:

Public Types

enum  Kind { kDoneWithValue = 0 , kDoneWithAbort , kDoneWithoutValue , kFail }
 

Public Member Functions

 MaybeReduceResult ()
 
 MaybeReduceResult (ValueNode *value)
 
 MaybeReduceResult (const MaybeReduceResult &) V8_NOEXCEPT=default
 
MaybeReduceResultoperator= (const MaybeReduceResult &) V8_NOEXCEPT=default
 
ValueNodevalue () const
 
bool HasValue () const
 
bool IsDone () const
 
bool IsFail () const
 
bool IsDoneWithValue () const
 
bool IsDoneWithoutValue () const
 
bool IsDoneWithAbort () const
 
Kind kind () const
 
ReduceResult Checked ()
 
base::PointerWithPayload< ValueNode, Kind, 3 > GetPayload () const
 

Static Public Member Functions

static MaybeReduceResult Fail ()
 

Protected Member Functions

 MaybeReduceResult (Kind kind)
 
 MaybeReduceResult (base::PointerWithPayload< ValueNode, Kind, 3 > payload)
 

Protected Attributes

base::PointerWithPayload< ValueNode, Kind, 3 > payload_
 

Detailed Description

Definition at line 54 of file maglev-graph-builder.h.

Member Enumeration Documentation

◆ Kind

Enumerator
kDoneWithValue 
kDoneWithAbort 
kDoneWithoutValue 
kFail 

Definition at line 56 of file maglev-graph-builder.h.

Constructor & Destructor Documentation

◆ MaybeReduceResult() [1/5]

v8::internal::maglev::MaybeReduceResult::MaybeReduceResult ( )
inline

Definition at line 63 of file maglev-graph-builder.h.

◆ MaybeReduceResult() [2/5]

v8::internal::maglev::MaybeReduceResult::MaybeReduceResult ( ValueNode * value)
inline

Definition at line 66 of file maglev-graph-builder.h.

◆ MaybeReduceResult() [3/5]

v8::internal::maglev::MaybeReduceResult::MaybeReduceResult ( const MaybeReduceResult & )
default

◆ MaybeReduceResult() [4/5]

v8::internal::maglev::MaybeReduceResult::MaybeReduceResult ( Kind kind)
inlineexplicitprotected

Definition at line 106 of file maglev-graph-builder.h.

◆ MaybeReduceResult() [5/5]

v8::internal::maglev::MaybeReduceResult::MaybeReduceResult ( base::PointerWithPayload< ValueNode, Kind, 3 > payload)
inlineexplicitprotected

Definition at line 107 of file maglev-graph-builder.h.

Member Function Documentation

◆ Checked()

ReduceResult v8::internal::maglev::MaybeReduceResult::Checked ( )
inline

Definition at line 134 of file maglev-graph-builder.h.

◆ Fail()

static MaybeReduceResult v8::internal::maglev::MaybeReduceResult::Fail ( )
inlinestatic

Definition at line 70 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ GetPayload()

base::PointerWithPayload< ValueNode, Kind, 3 > v8::internal::maglev::MaybeReduceResult::GetPayload ( ) const
inline

Definition at line 101 of file maglev-graph-builder.h.

◆ HasValue()

bool v8::internal::maglev::MaybeReduceResult::HasValue ( ) const
inline

Definition at line 79 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ IsDone()

bool v8::internal::maglev::MaybeReduceResult::IsDone ( ) const
inline

Definition at line 82 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ IsDoneWithAbort()

bool v8::internal::maglev::MaybeReduceResult::IsDoneWithAbort ( ) const
inline

Definition at line 95 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ IsDoneWithoutValue()

bool v8::internal::maglev::MaybeReduceResult::IsDoneWithoutValue ( ) const
inline

Definition at line 91 of file maglev-graph-builder.h.

◆ IsDoneWithValue()

bool v8::internal::maglev::MaybeReduceResult::IsDoneWithValue ( ) const
inline

Definition at line 88 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ IsFail()

bool v8::internal::maglev::MaybeReduceResult::IsFail ( ) const
inline

Definition at line 85 of file maglev-graph-builder.h.

Here is the caller graph for this function:

◆ kind()

Kind v8::internal::maglev::MaybeReduceResult::kind ( ) const
inline

Definition at line 97 of file maglev-graph-builder.h.

◆ operator=()

MaybeReduceResult & v8::internal::maglev::MaybeReduceResult::operator= ( const MaybeReduceResult & )
default

◆ value()

ValueNode * v8::internal::maglev::MaybeReduceResult::value ( ) const
inline

Definition at line 75 of file maglev-graph-builder.h.

Here is the caller graph for this function:

Member Data Documentation

◆ payload_

base::PointerWithPayload<ValueNode, Kind, 3> v8::internal::maglev::MaybeReduceResult::payload_
protected

Definition at line 110 of file maglev-graph-builder.h.


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