v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
arguments.h File Reference
Include dependency graph for arguments.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::Arguments< arguments_type >
 
class  v8::internal::Arguments< arguments_type >::ChangeValueScope
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define CLOBBER_DOUBLE_REGISTERS()
 
#define RUNTIME_ENTRY_WITH_RCS(Type, InternalType, Convert, Name)
 
#define TEST_AND_CALL_RCS(Name)
 
#define RUNTIME_FUNCTION_RETURNS_TYPE(Type, InternalType, Convert, Name)
 
#define BUILTIN_CONVERT_RESULT(x)
 
#define BUILTIN_CONVERT_RESULT_PAIR(x)
 
#define RUNTIME_FUNCTION(Name)
 
#define RUNTIME_FUNCTION_RETURN_PAIR(Name)
 

Macro Definition Documentation

◆ BUILTIN_CONVERT_RESULT

#define BUILTIN_CONVERT_RESULT ( x)
Value:
(x).ptr()
int x

Definition at line 158 of file arguments.h.

◆ BUILTIN_CONVERT_RESULT_PAIR

#define BUILTIN_CONVERT_RESULT_PAIR ( x)
Value:
(x)

Definition at line 159 of file arguments.h.

◆ CLOBBER_DOUBLE_REGISTERS

#define CLOBBER_DOUBLE_REGISTERS ( )

Definition at line 112 of file arguments.h.

◆ RUNTIME_ENTRY_WITH_RCS

#define RUNTIME_ENTRY_WITH_RCS ( Type,
InternalType,
Convert,
Name )

Definition at line 134 of file arguments.h.

◆ RUNTIME_FUNCTION

#define RUNTIME_FUNCTION ( Name)
Value:
RUNTIME_FUNCTION_RETURNS_TYPE(Address, Tagged<Object>, \
#define RUNTIME_FUNCTION_RETURNS_TYPE(Type, InternalType, Convert, Name)
Definition arguments.h:139
#define BUILTIN_CONVERT_RESULT(x)
Definition arguments.h:158

Definition at line 162 of file arguments.h.

◆ RUNTIME_FUNCTION_RETURN_PAIR

#define RUNTIME_FUNCTION_RETURN_PAIR ( Name)
Value:
RUNTIME_FUNCTION_RETURNS_TYPE(ObjectPair, ObjectPair, \
#define BUILTIN_CONVERT_RESULT_PAIR(x)
Definition arguments.h:159

Definition at line 166 of file arguments.h.

◆ RUNTIME_FUNCTION_RETURNS_TYPE

#define RUNTIME_FUNCTION_RETURNS_TYPE ( Type,
InternalType,
Convert,
Name )
Value:
static V8_INLINE InternalType __RT_impl_##Name(RuntimeArguments args, \
Isolate* isolate); \
RUNTIME_ENTRY_WITH_RCS(Type, InternalType, Convert, Name) \
Type Name(int args_length, Address* args_object, Isolate* isolate) { \
DCHECK(isolate->context().is_null() || IsContext(isolate->context())); \
DCHECK(isolate->IsOnCentralStack()); \
CLOBBER_DOUBLE_REGISTERS(); \
TEST_AND_CALL_RCS(Name) \
RuntimeArguments args(args_length, args_object); \
return Convert(__RT_impl_##Name(args, isolate)); \
} \
\
static InternalType __RT_impl_##Name(RuntimeArguments args, Isolate* isolate)
base::Vector< const DirectHandle< Object > > args
Definition execution.cc:74
#define RuntimeArguments
#define V8_INLINE
Definition v8config.h:500

Definition at line 139 of file arguments.h.

◆ TEST_AND_CALL_RCS

#define TEST_AND_CALL_RCS ( Name)

Definition at line 135 of file arguments.h.