v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-fast-api-calls.h>
Public Types | |
enum class | OverloadResolution { kImpossible , kAtRuntime , kAtCompileTime } |
Public Member Functions | |
constexpr | CFunction () |
const CTypeInfo & | ReturnInfo () const |
const CTypeInfo & | ArgumentInfo (unsigned int index) const |
unsigned int | ArgumentCount () const |
const void * | GetAddress () const |
const CFunctionInfo * | GetTypeInfo () const |
OverloadResolution | GetOverloadResolution (const CFunction *other) |
CFunction (const void *address, const CFunctionInfo *type_info) | |
Static Public Member Functions | |
template<typename F > | |
static CFunction | Make (F *func) |
template<typename R , typename... Args, typename R_Patch , typename... Args_Patch> | |
static CFunction | Make (R(*func)(Args...), R_Patch(*patching_func)(Args_Patch...)) |
Definition at line 447 of file v8-fast-api-calls.h.
|
strong |
Enumerator | |
---|---|
kImpossible | |
kAtRuntime | |
kAtCompileTime |
Definition at line 462 of file v8-fast-api-calls.h.
|
inlineconstexpr |
Definition at line 449 of file v8-fast-api-calls.h.
CFunction | ( | const void * | address, |
const CFunctionInfo * | type_info | ||
) |
|
inline |
Definition at line 457 of file v8-fast-api-calls.h.
References CFunctionInfo::ArgumentCount().
Referenced by CFunction::GetOverloadResolution().
|
inline |
Definition at line 453 of file v8-fast-api-calls.h.
References CFunctionInfo::ArgumentInfo().
Referenced by CFunction::GetOverloadResolution().
|
inline |
Definition at line 459 of file v8-fast-api-calls.h.
|
inline |
Definition at line 467 of file v8-fast-api-calls.h.
References CFunction::ArgumentCount(), CFunction::ArgumentInfo(), CTypeInfo::GetSequenceType(), CFunction::kAtCompileTime, CFunction::kAtRuntime, CFunction::kImpossible, and CTypeInfo::kScalar.
|
inline |
Definition at line 460 of file v8-fast-api-calls.h.
|
inlinestatic |
Definition at line 499 of file v8-fast-api-calls.h.
|
inlinestatic |
Definition at line 506 of file v8-fast-api-calls.h.
|
inline |
Definition at line 451 of file v8-fast-api-calls.h.
References CFunctionInfo::ReturnInfo().