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

#include <maglev-interpreter-frame-state.h>

Collaboration diagram for v8::internal::maglev::NodeInfo:

Classes

class  AlternativeNodes
 
struct  ClearUnstableMapsOnCopy
 

Public Member Functions

 NodeInfo ()=default
 
 NodeInfo (ClearUnstableMapsOnCopy other) V8_NOEXCEPT
 
NodeType type () const
 
NodeType CombineType (NodeType other)
 
NodeType IntersectType (NodeType other)
 
const AlternativeNodesalternative () const
 
AlternativeNodesalternative ()
 
bool no_info_available () const
 
bool is_smi () const
 
bool is_any_heap_object () const
 
bool is_string () const
 
bool is_internalized_string () const
 
bool is_symbol () const
 
void MergeWith (const NodeInfo &other, Zone *zone, bool &any_merged_map_is_unstable)
 
bool possible_maps_are_unstable () const
 
void ClearUnstableMaps ()
 
template<typename Function >
void ClearUnstableMapsIfAny (const Function &condition)
 
bool possible_maps_are_known () const
 
const PossibleMapspossible_maps () const
 
void SetPossibleMaps (const PossibleMaps &possible_maps, bool any_map_is_unstable, NodeType possible_type, compiler::JSHeapBroker *broker)
 
bool any_map_is_unstable () const
 

Private Attributes

NodeType type_ = NodeType::kUnknown
 
bool any_map_is_unstable_ = false
 
bool possible_maps_are_known_ = false
 
PossibleMaps possible_maps_
 
AlternativeNodes alternative_
 

Detailed Description

Definition at line 72 of file maglev-interpreter-frame-state.h.

Constructor & Destructor Documentation

◆ NodeInfo() [1/2]

v8::internal::maglev::NodeInfo::NodeInfo ( )
default

◆ NodeInfo() [2/2]

v8::internal::maglev::NodeInfo::NodeInfo ( ClearUnstableMapsOnCopy other)
inlineexplicit

Definition at line 79 of file maglev-interpreter-frame-state.h.

Member Function Documentation

◆ alternative() [1/2]

AlternativeNodes & v8::internal::maglev::NodeInfo::alternative ( )
inline

Definition at line 153 of file maglev-interpreter-frame-state.h.

◆ alternative() [2/2]

const AlternativeNodes & v8::internal::maglev::NodeInfo::alternative ( ) const
inline

Definition at line 152 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

◆ any_map_is_unstable()

bool v8::internal::maglev::NodeInfo::any_map_is_unstable ( ) const
inline

Definition at line 244 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

◆ ClearUnstableMaps()

void v8::internal::maglev::NodeInfo::ClearUnstableMaps ( )
inline

Definition at line 194 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClearUnstableMapsIfAny()

template<typename Function >
void v8::internal::maglev::NodeInfo::ClearUnstableMapsIfAny ( const Function & condition)
inline

Definition at line 202 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:

◆ CombineType()

NodeType v8::internal::maglev::NodeInfo::CombineType ( NodeType other)
inline

Definition at line 89 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IntersectType()

NodeType v8::internal::maglev::NodeInfo::IntersectType ( NodeType other)
inline

Definition at line 92 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_any_heap_object()

bool v8::internal::maglev::NodeInfo::is_any_heap_object ( ) const
inline

Definition at line 161 of file maglev-interpreter-frame-state.h.

◆ is_internalized_string()

bool v8::internal::maglev::NodeInfo::is_internalized_string ( ) const
inline

Definition at line 163 of file maglev-interpreter-frame-state.h.

◆ is_smi()

bool v8::internal::maglev::NodeInfo::is_smi ( ) const
inline

Definition at line 160 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

◆ is_string()

bool v8::internal::maglev::NodeInfo::is_string ( ) const
inline

Definition at line 162 of file maglev-interpreter-frame-state.h.

◆ is_symbol()

bool v8::internal::maglev::NodeInfo::is_symbol ( ) const
inline

Definition at line 166 of file maglev-interpreter-frame-state.h.

◆ MergeWith()

void v8::internal::maglev::NodeInfo::MergeWith ( const NodeInfo & other,
Zone * zone,
bool & any_merged_map_is_unstable )
inline

Definition at line 170 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:

◆ no_info_available()

bool v8::internal::maglev::NodeInfo::no_info_available ( ) const
inline

Definition at line 155 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:

◆ possible_maps()

const PossibleMaps & v8::internal::maglev::NodeInfo::possible_maps ( ) const
inline

Definition at line 214 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

◆ possible_maps_are_known()

bool v8::internal::maglev::NodeInfo::possible_maps_are_known ( ) const
inline

Definition at line 212 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

◆ possible_maps_are_unstable()

bool v8::internal::maglev::NodeInfo::possible_maps_are_unstable ( ) const
inline

Definition at line 192 of file maglev-interpreter-frame-state.h.

◆ SetPossibleMaps()

void v8::internal::maglev::NodeInfo::SetPossibleMaps ( const PossibleMaps & possible_maps,
bool any_map_is_unstable,
NodeType possible_type,
compiler::JSHeapBroker * broker )
inline

Definition at line 221 of file maglev-interpreter-frame-state.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

NodeType v8::internal::maglev::NodeInfo::type ( ) const
inline

Definition at line 88 of file maglev-interpreter-frame-state.h.

Here is the caller graph for this function:

Member Data Documentation

◆ alternative_

AlternativeNodes v8::internal::maglev::NodeInfo::alternative_
private

Definition at line 258 of file maglev-interpreter-frame-state.h.

◆ any_map_is_unstable_

bool v8::internal::maglev::NodeInfo::any_map_is_unstable_ = false
private

Definition at line 249 of file maglev-interpreter-frame-state.h.

◆ possible_maps_

PossibleMaps v8::internal::maglev::NodeInfo::possible_maps_
private

Definition at line 256 of file maglev-interpreter-frame-state.h.

◆ possible_maps_are_known_

bool v8::internal::maglev::NodeInfo::possible_maps_are_known_ = false
private

Definition at line 255 of file maglev-interpreter-frame-state.h.

◆ type_

NodeType v8::internal::maglev::NodeInfo::type_ = NodeType::kUnknown
private

Definition at line 247 of file maglev-interpreter-frame-state.h.


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