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

#include <code-stub-assembler.h>

Collaboration diagram for v8::internal::CodeStubArguments:

Public Types

using ForEachBodyFunction = std::function<void(TNode<JSAny> arg)>
 

Public Member Functions

 CodeStubArguments (CodeStubAssembler *assembler, TNode< IntPtrT > argc)
 
 CodeStubArguments (CodeStubAssembler *assembler, TNode< Int32T > argc)
 
 CodeStubArguments (CodeStubAssembler *assembler, TNode< IntPtrT > argc, TNode< RawPtrT > fp)
 
 CodeStubArguments (CodeStubAssembler *assembler, TorqueStructArguments torque_arguments)
 
bool MayHavePaddingArguments () const
 
TNode< JSAnyGetReceiver () const
 
void SetReceiver (TNode< JSAny > object) const
 
TNode< RawPtrTAtIndexPtr (TNode< IntPtrT > index) const
 
TNode< JSAnyAtIndex (TNode< IntPtrT > index) const
 
TNode< JSAnyAtIndex (int index) const
 
TNode< IntPtrTGetLengthWithoutReceiver () const
 
TNode< IntPtrTGetLengthWithReceiver () const
 
TorqueStructArguments GetTorqueArguments () const
 
TNode< JSAnyGetOptionalArgumentValue (TNode< IntPtrT > index, TNode< JSAny > default_value)
 
TNode< JSAnyGetOptionalArgumentValue (TNode< IntPtrT > index)
 
TNode< JSAnyGetOptionalArgumentValue (int index)
 
void SetArgumentValue (TNode< IntPtrT > index, TNode< JSAny > value)
 
void ForEach (const ForEachBodyFunction &body, TNode< IntPtrT > first={}, TNode< IntPtrT > last={}) const
 
void ForEach (const CodeStubAssembler::VariableList &vars, const ForEachBodyFunction &body, TNode< IntPtrT > first={}, TNode< IntPtrT > last={}) const
 
void PopAndReturn (TNode< JSAny > value)
 

Private Attributes

CodeStubAssemblerassembler_
 
TNode< IntPtrTargc_
 
TNode< RawPtrTbase_
 
TNode< RawPtrTfp_
 

Detailed Description

Definition at line 4782 of file code-stub-assembler.h.

Member Typedef Documentation

◆ ForEachBodyFunction

Definition at line 4838 of file code-stub-assembler.h.

Constructor & Destructor Documentation

◆ CodeStubArguments() [1/4]

v8::internal::CodeStubArguments::CodeStubArguments ( CodeStubAssembler * assembler,
TNode< IntPtrT > argc )
inline

Definition at line 4785 of file code-stub-assembler.h.

◆ CodeStubArguments() [2/4]

v8::internal::CodeStubArguments::CodeStubArguments ( CodeStubAssembler * assembler,
TNode< Int32T > argc )
inline

Definition at line 4787 of file code-stub-assembler.h.

◆ CodeStubArguments() [3/4]

v8::internal::CodeStubArguments::CodeStubArguments ( CodeStubAssembler * assembler,
TNode< IntPtrT > argc,
TNode< RawPtrT > fp )

Definition at line 17090 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ CodeStubArguments() [4/4]

v8::internal::CodeStubArguments::CodeStubArguments ( CodeStubAssembler * assembler,
TorqueStructArguments torque_arguments )
inline

Definition at line 4794 of file code-stub-assembler.h.

Member Function Documentation

◆ AtIndex() [1/2]

TNode< JSAny > v8::internal::CodeStubArguments::AtIndex ( int index) const

Definition at line 17135 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ AtIndex() [2/2]

TNode< JSAny > v8::internal::CodeStubArguments::AtIndex ( TNode< IntPtrT > index) const

Definition at line 17129 of file code-stub-assembler.cc.

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

◆ AtIndexPtr()

TNode< RawPtrT > v8::internal::CodeStubArguments::AtIndexPtr ( TNode< IntPtrT > index) const

Definition at line 17123 of file code-stub-assembler.cc.

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

◆ ForEach() [1/2]

void v8::internal::CodeStubArguments::ForEach ( const CodeStubAssembler::VariableList & vars,
const ForEachBodyFunction & body,
TNode< IntPtrT > first = {},
TNode< IntPtrT > last = {} ) const

Definition at line 17174 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ ForEach() [2/2]

void v8::internal::CodeStubArguments::ForEach ( const ForEachBodyFunction & body,
TNode< IntPtrT > first = {},
TNode< IntPtrT > last = {} ) const
inline

Definition at line 4839 of file code-stub-assembler.h.

◆ GetLengthWithoutReceiver()

TNode< IntPtrT > v8::internal::CodeStubArguments::GetLengthWithoutReceiver ( ) const

Definition at line 17139 of file code-stub-assembler.cc.

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

◆ GetLengthWithReceiver()

TNode< IntPtrT > v8::internal::CodeStubArguments::GetLengthWithReceiver ( ) const

Definition at line 17144 of file code-stub-assembler.cc.

Here is the caller graph for this function:

◆ GetOptionalArgumentValue() [1/3]

TNode< JSAny > v8::internal::CodeStubArguments::GetOptionalArgumentValue ( int index)
inline

Definition at line 4831 of file code-stub-assembler.h.

◆ GetOptionalArgumentValue() [2/3]

TNode< JSAny > v8::internal::CodeStubArguments::GetOptionalArgumentValue ( TNode< IntPtrT > index)
inline

Definition at line 4828 of file code-stub-assembler.h.

◆ GetOptionalArgumentValue() [3/3]

TNode< JSAny > v8::internal::CodeStubArguments::GetOptionalArgumentValue ( TNode< IntPtrT > index,
TNode< JSAny > default_value )

Definition at line 17148 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ GetReceiver()

TNode< JSAny > v8::internal::CodeStubArguments::GetReceiver ( ) const

Definition at line 17111 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ GetTorqueArguments()

TorqueStructArguments v8::internal::CodeStubArguments::GetTorqueArguments ( ) const
inline

Definition at line 4822 of file code-stub-assembler.h.

◆ MayHavePaddingArguments()

bool v8::internal::CodeStubArguments::MayHavePaddingArguments ( ) const

Definition at line 17105 of file code-stub-assembler.cc.

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

◆ PopAndReturn()

void v8::internal::CodeStubArguments::PopAndReturn ( TNode< JSAny > value)

Definition at line 17199 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ SetArgumentValue()

void v8::internal::CodeStubArguments::SetArgumentValue ( TNode< IntPtrT > index,
TNode< JSAny > value )

Definition at line 17168 of file code-stub-assembler.cc.

Here is the call graph for this function:

◆ SetReceiver()

void v8::internal::CodeStubArguments::SetReceiver ( TNode< JSAny > object) const

Definition at line 17117 of file code-stub-assembler.cc.

Here is the call graph for this function:

Member Data Documentation

◆ argc_

TNode<IntPtrT> v8::internal::CodeStubArguments::argc_
private

Definition at line 4852 of file code-stub-assembler.h.

◆ assembler_

CodeStubAssembler* v8::internal::CodeStubArguments::assembler_
private

Definition at line 4851 of file code-stub-assembler.h.

◆ base_

TNode<RawPtrT> v8::internal::CodeStubArguments::base_
private

Definition at line 4853 of file code-stub-assembler.h.

◆ fp_

TNode<RawPtrT> v8::internal::CodeStubArguments::fp_
private

Definition at line 4854 of file code-stub-assembler.h.


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