MCPcopy Create free account
hub / github.com/ReadyTalk/avian / invokeNativeFast

Function invokeNativeFast

src/compile.cpp:7137–7145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7135}
7136
7137uint64_t invokeNativeFast(MyThread* t, GcMethod* method, void* function)
7138{
7139 FastNativeFunction f;
7140 memcpy(&f, &function, sizeof(void*));
7141 return f(t,
7142 method,
7143 static_cast<uintptr_t*>(t->stack) + t->arch->frameFooterSize()
7144 + t->arch->frameReturnAddressSize());
7145}
7146
7147uint64_t invokeNativeSlow(MyThread* t, GcMethod* method, void* function)
7148{

Callers 1

invokeNative2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected