V8 Project
v8::internal::compiler::NodeData Class Reference

#include <node.h>

+ Inheritance diagram for v8::internal::compiler::NodeData:
+ Collaboration diagram for v8::internal::compiler::NodeData:

Public Member Functions

const Operatorop () const
 
void set_op (const Operator *op)
 
IrOpcode::Value opcode () const
 
Bounds bounds ()
 

Protected Member Functions

 NodeData (Zone *zone)
 
void set_bounds (Bounds b)
 

Protected Attributes

const Operatorop_
 
Bounds bounds_
 

Friends

class NodeProperties
 

Detailed Description

Definition at line 24 of file node.h.

Constructor & Destructor Documentation

◆ NodeData()

v8::internal::compiler::NodeData::NodeData ( Zone zone)
inlineexplicitprotected

Definition at line 39 of file node.h.

39 : bounds_(Bounds(Type::None(zone))) {}
BoundsImpl< ZoneTypeConfig > Bounds
Definition: types.h:1047
@ None
Definition: v8.h:2211

Member Function Documentation

◆ bounds()

Bounds v8::internal::compiler::NodeData::bounds ( )
inline

Definition at line 34 of file node.h.

34 { return bounds_; }

References bounds_.

◆ op()

const Operator* v8::internal::compiler::NodeData::op ( ) const
inline

Definition at line 26 of file node.h.

26 { return op_; }
const Operator * op_
Definition: node.h:37

References op_.

Referenced by set_op().

+ Here is the caller graph for this function:

◆ opcode()

IrOpcode::Value v8::internal::compiler::NodeData::opcode ( ) const
inline

Definition at line 29 of file node.h.

29  {
31  return static_cast<IrOpcode::Value>(op_->opcode());
32  }
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, v8::internal::compiler::IrOpcode::kLast, op_, and v8::internal::compiler::Operator::opcode().

+ Here is the call graph for this function:

◆ set_bounds()

void v8::internal::compiler::NodeData::set_bounds ( Bounds  b)
inlineprotected

Definition at line 42 of file node.h.

42 { bounds_ = b; }

References bounds_.

◆ set_op()

void v8::internal::compiler::NodeData::set_op ( const Operator op)
inline

Definition at line 27 of file node.h.

27 { op_ = op; }
const Operator * op() const
Definition: node.h:26

References op(), and op_.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ NodeProperties

friend class NodeProperties
friend

Definition at line 41 of file node.h.

Member Data Documentation

◆ bounds_

Bounds v8::internal::compiler::NodeData::bounds_
protected

Definition at line 38 of file node.h.

Referenced by bounds(), and set_bounds().

◆ op_

const Operator* v8::internal::compiler::NodeData::op_
protected

Definition at line 37 of file node.h.

Referenced by op(), opcode(), and set_op().


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