v8
9.4.146 (node 16.13.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 F > | |
static CFunction | MakeWithFallbackSupport (F *func) |
Definition at line 386 of file v8-fast-api-calls.h.
|
strong |
Enumerator | |
---|---|
kImpossible | |
kAtRuntime | |
kAtCompileTime |
Definition at line 401 of file v8-fast-api-calls.h.
|
inlineconstexpr |
Definition at line 388 of file v8-fast-api-calls.h.
CFunction | ( | const void * | address, |
const CFunctionInfo * | type_info | ||
) |
|
inline |
Definition at line 396 of file v8-fast-api-calls.h.
References CFunctionInfo::ArgumentCount().
Referenced by CFunction::GetOverloadResolution().
|
inline |
Definition at line 392 of file v8-fast-api-calls.h.
References CFunctionInfo::ArgumentInfo().
Referenced by CFunction::GetOverloadResolution().
|
inline |
Definition at line 398 of file v8-fast-api-calls.h.
|
inline |
Definition at line 406 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 399 of file v8-fast-api-calls.h.
|
inlinestatic |
Definition at line 438 of file v8-fast-api-calls.h.
|
inlinestatic |
Definition at line 444 of file v8-fast-api-calls.h.
|
inline |
Definition at line 390 of file v8-fast-api-calls.h.
References CFunctionInfo::ReturnInfo().