| 30 | static size_t JitBlockSize = 0; |
| 31 | |
| 32 | asmjit::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 | |
| 47 | static void *AllocJitMemory(size_t size) |
| 48 | { |
no outgoing calls
no test coverage detected