MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetHostCodeInfo

Function GetHostCodeInfo

source/common/scripting/jit/jit_runtime.cpp:32–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30static size_t JitBlockSize = 0;
31
32asmjit::CodeInfo GetHostCodeInfo()
33{
34 static bool firstCall = true;
35 static asmjit::CodeInfo codeInfo;
36
37 if (firstCall)
38 {
39 asmjit::JitRuntime rt;
40 codeInfo = rt.getCodeInfo();
41 firstCall = false;
42 }
43
44 return codeInfo;
45}
46
47static void *AllocJitMemory(size_t size)
48{

Callers 4

JitCompileFunction · 0.85
JitDumpLogFunction · 0.85
CreateUnwindInfoWindowsFunction · 0.85
CreateUnwindInfoUnixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected