5#ifndef RUNTIME_VM_CLOSURE_FUNCTIONS_CACHE_H_
6#define RUNTIME_VM_CLOSURE_FUNCTIONS_CACHE_H_
37 intptr_t kernel_offset);
40 intptr_t kernel_offset);
48 bool allow_implicit_closure_functions =
false);
static intptr_t FindClosureIndex(const Function &needle)
static void AddClosureFunctionLocked(const Function &function, bool allow_implicit_closure_functions=false)
static FunctionPtr ClosureFunctionFromIndex(intptr_t idx)
static FunctionPtr LookupClosureFunctionLocked(const Function &member_function, intptr_t kernel_offset)
static void ForAllClosureFunctions(std::function< bool(const Function &)> callback)
static FunctionPtr LookupClosureFunction(const Function &member_function, intptr_t kernel_offset)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function