![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Classes | |
class | FastApiCallBuilder |
struct | OverloadsResolutionResult |
Typedefs | |
using | GetParameter = std::function<Node*(int, GraphAssemblerLabel<0>*)> |
using | ConvertReturnValue = std::function<Node*(const CFunctionInfo*, Node*)> |
using | InitializeOptions = std::function<void(Node*)> |
using | GenerateSlowApiCall = std::function<Node*()> |
Functions | |
ElementsKind | GetTypedArrayElementsKind (CTypeInfo::Type type) |
bool | CanOptimizeFastSignature (const CFunctionInfo *c_signature) |
Node * | BuildFastApiCall (Isolate *isolate, TFGraph *graph, GraphAssembler *graph_assembler, FastApiCallFunction c_function, Node *data_argument, const GetParameter &get_parameter, const ConvertReturnValue &convert_return_value, const InitializeOptions &initialize_options, const GenerateSlowApiCall &generate_slow_api_call) |
FastApiCallFunction | GetFastApiCallTarget (JSHeapBroker *broker, FunctionTemplateInfoRef function_template_info, size_t arg_count) |
using v8::internal::compiler::fast_api_call::ConvertReturnValue = std::function<Node*(const CFunctionInfo*, Node*)> |
Definition at line 46 of file fast-api-calls.h.
using v8::internal::compiler::fast_api_call::GenerateSlowApiCall = std::function<Node*()> |
Definition at line 48 of file fast-api-calls.h.
using v8::internal::compiler::fast_api_call::GetParameter = std::function<Node*(int, GraphAssemblerLabel<0>*)> |
Definition at line 45 of file fast-api-calls.h.
using v8::internal::compiler::fast_api_call::InitializeOptions = std::function<void(Node*)> |
Definition at line 47 of file fast-api-calls.h.
Node * v8::internal::compiler::fast_api_call::BuildFastApiCall | ( | Isolate * | isolate, |
TFGraph * | graph, | ||
GraphAssembler * | graph_assembler, | ||
FastApiCallFunction | c_function, | ||
Node * | data_argument, | ||
const GetParameter & | get_parameter, | ||
const ConvertReturnValue & | convert_return_value, | ||
const InitializeOptions & | initialize_options, | ||
const GenerateSlowApiCall & | generate_slow_api_call ) |
bool v8::internal::compiler::fast_api_call::CanOptimizeFastSignature | ( | const CFunctionInfo * | c_signature | ) |
Definition at line 65 of file fast-api-calls.cc.
FastApiCallFunction v8::internal::compiler::fast_api_call::GetFastApiCallTarget | ( | JSHeapBroker * | broker, |
FunctionTemplateInfoRef | function_template_info, | ||
size_t | arg_count ) |
Definition at line 384 of file fast-api-calls.cc.
ElementsKind v8::internal::compiler::fast_api_call::GetTypedArrayElementsKind | ( | CTypeInfo::Type | type | ) |