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

#include <builtins-utils.h>

Inheritance diagram for v8::internal::BuiltinArguments:
Collaboration diagram for v8::internal::BuiltinArguments:

Public Member Functions

 BuiltinArguments (int length, Address *arguments)
 
Tagged< Objectoperator[] (int index) const
 
template<class S = Object>
Handle< Sat (int index) const
 
void set_at (int index, Tagged< Object > value)
 
Addressaddress_of_first_argument () const
 
Handle< ObjectatOrUndefined (Isolate *isolate, int index) const
 
Handle< JSAnyreceiver () const
 
Handle< JSFunctiontarget () const
 
Handle< HeapObjectnew_target () const
 
int length () const
 
- Public Member Functions inherited from v8::internal::Arguments< arguments_type >
 Arguments (int length, Address *arguments)
 
V8_INLINE Tagged< Objectoperator[] (int index) const
 
template<class S = Object>
V8_INLINE Handle< Sat (int index) const
 
V8_INLINE FullObjectSlot slot_from_address_at (int index, int offset) const
 
V8_INLINE int smi_value_at (int index) const
 
V8_INLINE uint32_t positive_smi_value_at (int index) const
 
V8_INLINE int tagged_index_value_at (int index) const
 
V8_INLINE double number_value_at (int index) const
 
V8_INLINE Handle< ObjectatOrUndefined (Isolate *isolate, int index) const
 
V8_INLINE Addressaddress_of_arg_at (int index) const
 
V8_INLINE int length () const
 
template<class S >
Handle< Sat (int index) const
 

Static Public Attributes

static constexpr int kNewTargetIndex = 0
 
static constexpr int kTargetIndex = 1
 
static constexpr int kArgcIndex = 2
 
static constexpr int kPaddingIndex = 3
 
static constexpr int kNumExtraArgs = 4
 
static constexpr int kNumExtraArgsWithReceiver = 5
 
static constexpr int kArgsIndex = kNumExtraArgs
 
static constexpr int kReceiverIndex = kArgsIndex
 
static constexpr int kFirstArgsIndex = kArgsIndex + 1
 
static constexpr int kReceiverArgsIndex = kArgsIndex - kFirstArgsIndex
 

Detailed Description

Definition at line 20 of file builtins-utils.h.

Constructor & Destructor Documentation

◆ BuiltinArguments()

v8::internal::BuiltinArguments::BuiltinArguments ( int length,
Address * arguments )
inline

Definition at line 22 of file builtins-utils.h.

Here is the call graph for this function:

Member Function Documentation

◆ address_of_first_argument()

Address * v8::internal::BuiltinArguments::address_of_first_argument ( ) const
inline

Definition at line 50 of file builtins-utils.h.

Here is the call graph for this function:

◆ at()

template<class S = Object>
Handle< S > v8::internal::BuiltinArguments::at ( int index) const
inline

Definition at line 37 of file builtins-utils.h.

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

◆ atOrUndefined()

Handle< Object > v8::internal::BuiltinArguments::atOrUndefined ( Isolate * isolate,
int index ) const
inline

Definition at line 16 of file builtins-utils-inl.h.

Here is the call graph for this function:

◆ length()

int v8::internal::BuiltinArguments::length ( ) const
inline

Definition at line 78 of file builtins-utils.h.

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

◆ new_target()

Handle< HeapObject > v8::internal::BuiltinArguments::new_target ( ) const
inline

Definition at line 32 of file builtins-utils-inl.h.

Here is the call graph for this function:

◆ operator[]()

Tagged< Object > v8::internal::BuiltinArguments::operator[] ( int index) const
inline

Definition at line 30 of file builtins-utils.h.

Here is the call graph for this function:

◆ receiver()

Handle< JSAny > v8::internal::BuiltinArguments::receiver ( ) const
inline

Definition at line 24 of file builtins-utils-inl.h.

Here is the call graph for this function:

◆ set_at()

void v8::internal::BuiltinArguments::set_at ( int index,
Tagged< Object > value )
inline

Definition at line 43 of file builtins-utils.h.

Here is the call graph for this function:

◆ target()

Handle< JSFunction > v8::internal::BuiltinArguments::target ( ) const
inline

Definition at line 28 of file builtins-utils-inl.h.

Here is the call graph for this function:

Member Data Documentation

◆ kArgcIndex

int v8::internal::BuiltinArguments::kArgcIndex = 2
staticconstexpr

Definition at line 56 of file builtins-utils.h.

◆ kArgsIndex

int v8::internal::BuiltinArguments::kArgsIndex = kNumExtraArgs
staticconstexpr

Definition at line 63 of file builtins-utils.h.

◆ kFirstArgsIndex

int v8::internal::BuiltinArguments::kFirstArgsIndex = kArgsIndex + 1
staticconstexpr

Definition at line 65 of file builtins-utils.h.

◆ kNewTargetIndex

int v8::internal::BuiltinArguments::kNewTargetIndex = 0
staticconstexpr

Definition at line 54 of file builtins-utils.h.

◆ kNumExtraArgs

int v8::internal::BuiltinArguments::kNumExtraArgs = 4
staticconstexpr

Definition at line 60 of file builtins-utils.h.

◆ kNumExtraArgsWithReceiver

int v8::internal::BuiltinArguments::kNumExtraArgsWithReceiver = 5
staticconstexpr

Definition at line 61 of file builtins-utils.h.

◆ kPaddingIndex

int v8::internal::BuiltinArguments::kPaddingIndex = 3
staticconstexpr

Definition at line 58 of file builtins-utils.h.

◆ kReceiverArgsIndex

int v8::internal::BuiltinArguments::kReceiverArgsIndex = kArgsIndex - kFirstArgsIndex
staticconstexpr

Definition at line 68 of file builtins-utils.h.

◆ kReceiverIndex

int v8::internal::BuiltinArguments::kReceiverIndex = kArgsIndex
staticconstexpr

Definition at line 64 of file builtins-utils.h.

◆ kTargetIndex

int v8::internal::BuiltinArguments::kTargetIndex = 1
staticconstexpr

Definition at line 55 of file builtins-utils.h.


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