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

Function invokeNative2

src/compile.cpp:7317–7325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7315}
7316
7317uint64_t invokeNative2(MyThread* t, GcMethod* method)
7318{
7319 GcNative* native = getMethodRuntimeData(t, method)->native();
7320 if (native->fast()) {
7321 return invokeNativeFast(t, method, native->function());
7322 } else {
7323 return invokeNativeSlow(t, method, native->function());
7324 }
7325}
7326
7327uint64_t invokeNative(MyThread* t)
7328{

Callers 1

invokeNativeFunction · 0.85

Calls 3

getMethodRuntimeDataFunction · 0.85
invokeNativeFastFunction · 0.85
invokeNativeSlowFunction · 0.70

Tested by

no test coverage detected