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

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define DCHECK_NAME_COMPATIBLE(interceptor, name)
 
#define PREPARE_CALLBACK_INFO_ACCESSOR(ISOLATE, F, API_RETURN_TYPE, ACCESSOR_INFO, RECEIVER, ACCESSOR_KIND, EXCEPTION_CONTEXT)
 
#define PREPARE_CALLBACK_INFO_INTERCEPTOR(ISOLATE, F, API_RETURN_TYPE, INTERCEPTOR_INFO, EXCEPTION_CONTEXT)
 

Macro Definition Documentation

◆ DCHECK_NAME_COMPATIBLE

#define DCHECK_NAME_COMPATIBLE ( interceptor,
name )
Value:
DCHECK(interceptor->is_named()); \
DCHECK(!name->IsPrivate()); \
DCHECK_IMPLIES(IsSymbol(*name), interceptor->can_intercept_symbols());
#define DCHECK(condition)
Definition logging.h:482

Definition at line 47 of file api-arguments-inl.h.

◆ PREPARE_CALLBACK_INFO_ACCESSOR

#define PREPARE_CALLBACK_INFO_ACCESSOR ( ISOLATE,
F,
API_RETURN_TYPE,
ACCESSOR_INFO,
RECEIVER,
ACCESSOR_KIND,
EXCEPTION_CONTEXT )
Value:
if (ISOLATE->should_check_side_effects() && \
!ISOLATE->debug()->PerformSideEffectCheckForAccessor( \
ACCESSOR_INFO, RECEIVER, ACCESSOR_KIND)) { \
return {}; \
} \
const PropertyCallbackInfo<API_RETURN_TYPE>& callback_info = \
GetPropertyCallbackInfo<API_RETURN_TYPE>(); \
ExternalCallbackScope call_scope(ISOLATE, FUNCTION_ADDR(F), \
EXCEPTION_CONTEXT, &callback_info);
#define F(name, str)
#define FUNCTION_ADDR(f)
Definition globals.h:712
#define ACCESSOR_KIND(Class, Kind, Store)

Definition at line 52 of file api-arguments-inl.h.

◆ PREPARE_CALLBACK_INFO_INTERCEPTOR

#define PREPARE_CALLBACK_INFO_INTERCEPTOR ( ISOLATE,
F,
API_RETURN_TYPE,
INTERCEPTOR_INFO,
EXCEPTION_CONTEXT )
Value:
if (ISOLATE->should_check_side_effects() && \
!ISOLATE->debug()->PerformSideEffectCheckForInterceptor( \
INTERCEPTOR_INFO)) { \
return {}; \
} \
const PropertyCallbackInfo<API_RETURN_TYPE>& callback_info = \
GetPropertyCallbackInfo<API_RETURN_TYPE>(); \
ExternalCallbackScope call_scope(ISOLATE, FUNCTION_ADDR(F), \
EXCEPTION_CONTEXT, &callback_info);

Definition at line 65 of file api-arguments-inl.h.