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

#include <maglev-ir.h>

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

Public Member Functions

 CallSelf (uint64_t bitfield, int expected_parameter_count, ValueNode *closure, ValueNode *context, ValueNode *receiver, ValueNode *new_target)
 
Inputclosure ()
 
const Inputclosure () const
 
Inputcontext ()
 
const Inputcontext () const
 
Inputreceiver ()
 
const Inputreceiver () const
 
Inputnew_target ()
 
const Inputnew_target () const
 
int num_args () const
 
Inputarg (int i)
 
void set_arg (int i, ValueNode *node)
 
auto args ()
 
void VerifyInputs (MaglevGraphLabeller *graph_labeller) const
 
int MaxCallStackArgs () const
 
void SetValueLocationConstraints ()
 
void GenerateCode (MaglevAssembler *, const ProcessingState &)
 
void PrintParams (std::ostream &, MaglevGraphLabeller *) const
 
- Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
constexpr Opcode opcode () const
 
constexpr const OpPropertiesproperties () const
 

Static Public Attributes

static constexpr int kClosureIndex = 0
 
static constexpr int kContextIndex = 1
 
static constexpr int kReceiverIndex = 2
 
static constexpr int kNewTargetIndex = 3
 
static constexpr int kFixedInputCount = 4
 
static constexpr OpProperties kProperties = OpProperties::JSCall()
 

Private Types

using Base = ValueNodeT<CallSelf>
 

Private Attributes

int expected_parameter_count_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
static Derived * New (Zone *zone, std::initializer_list< ValueNode * > inputs, Args &&... args)
 
template<typename... Args>
static Derived * New (Zone *zone, size_t input_count, Args &&... args)
 
- Protected Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
 NodeTMixin (uint64_t bitfield, Args &&... args)
 

Detailed Description

Definition at line 10036 of file maglev-ir.h.

Member Typedef Documentation

◆ Base

Definition at line 10037 of file maglev-ir.h.

Constructor & Destructor Documentation

◆ CallSelf()

v8::internal::maglev::CallSelf::CallSelf ( uint64_t bitfield,
int expected_parameter_count,
ValueNode * closure,
ValueNode * context,
ValueNode * receiver,
ValueNode * new_target )
inline

Definition at line 10052 of file maglev-ir.h.

Here is the call graph for this function:

Member Function Documentation

◆ arg()

Input & v8::internal::maglev::CallSelf::arg ( int i)
inline

Definition at line 10072 of file maglev-ir.h.

Here is the caller graph for this function:

◆ args()

auto v8::internal::maglev::CallSelf::args ( )
inline

Definition at line 10076 of file maglev-ir.h.

Here is the call graph for this function:

◆ closure() [1/2]

Input & v8::internal::maglev::CallSelf::closure ( )
inline

Definition at line 10063 of file maglev-ir.h.

Here is the caller graph for this function:

◆ closure() [2/2]

const Input & v8::internal::maglev::CallSelf::closure ( ) const
inline

Definition at line 10064 of file maglev-ir.h.

◆ context() [1/2]

Input & v8::internal::maglev::CallSelf::context ( )
inline

Definition at line 10065 of file maglev-ir.h.

◆ context() [2/2]

const Input & v8::internal::maglev::CallSelf::context ( ) const
inline

Definition at line 10066 of file maglev-ir.h.

◆ GenerateCode()

void v8::internal::maglev::CallSelf::GenerateCode ( MaglevAssembler * ,
const ProcessingState &  )

◆ MaxCallStackArgs()

int v8::internal::maglev::CallSelf::MaxCallStackArgs ( ) const

◆ new_target() [1/2]

Input & v8::internal::maglev::CallSelf::new_target ( )
inline

Definition at line 10069 of file maglev-ir.h.

Here is the caller graph for this function:

◆ new_target() [2/2]

const Input & v8::internal::maglev::CallSelf::new_target ( ) const
inline

Definition at line 10070 of file maglev-ir.h.

◆ num_args()

int v8::internal::maglev::CallSelf::num_args ( ) const
inline

Definition at line 10071 of file maglev-ir.h.

Here is the caller graph for this function:

◆ PrintParams()

void v8::internal::maglev::CallSelf::PrintParams ( std::ostream & os,
MaglevGraphLabeller * graph_labeller ) const

Definition at line 7942 of file maglev-ir.cc.

◆ receiver() [1/2]

Input & v8::internal::maglev::CallSelf::receiver ( )
inline

Definition at line 10067 of file maglev-ir.h.

Here is the caller graph for this function:

◆ receiver() [2/2]

const Input & v8::internal::maglev::CallSelf::receiver ( ) const
inline

Definition at line 10068 of file maglev-ir.h.

◆ set_arg()

void v8::internal::maglev::CallSelf::set_arg ( int i,
ValueNode * node )
inline

Definition at line 10073 of file maglev-ir.h.

◆ SetValueLocationConstraints()

void v8::internal::maglev::CallSelf::SetValueLocationConstraints ( )

◆ VerifyInputs()

void v8::internal::maglev::CallSelf::VerifyInputs ( MaglevGraphLabeller * graph_labeller) const

Definition at line 655 of file maglev-ir.cc.

Here is the call graph for this function:

Member Data Documentation

◆ expected_parameter_count_

int v8::internal::maglev::CallSelf::expected_parameter_count_
private

Definition at line 10092 of file maglev-ir.h.

◆ kClosureIndex

int v8::internal::maglev::CallSelf::kClosureIndex = 0
staticconstexpr

Definition at line 10040 of file maglev-ir.h.

◆ kContextIndex

int v8::internal::maglev::CallSelf::kContextIndex = 1
staticconstexpr

Definition at line 10041 of file maglev-ir.h.

◆ kFixedInputCount

int v8::internal::maglev::CallSelf::kFixedInputCount = 4
staticconstexpr

Definition at line 10044 of file maglev-ir.h.

◆ kNewTargetIndex

int v8::internal::maglev::CallSelf::kNewTargetIndex = 3
staticconstexpr

Definition at line 10043 of file maglev-ir.h.

◆ kProperties

OpProperties v8::internal::maglev::CallSelf::kProperties = OpProperties::JSCall()
staticconstexpr

Definition at line 10061 of file maglev-ir.h.

◆ kReceiverIndex

int v8::internal::maglev::CallSelf::kReceiverIndex = 2
staticconstexpr

Definition at line 10042 of file maglev-ir.h.


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