| 971 | } |
| 972 | |
| 973 | void FFunctionBuildList::DumpJit(bool include_gzdoom_pk3) |
| 974 | { |
| 975 | #ifdef HAVE_VM_JIT |
| 976 | FILE *dump = fopen("dumpjit.txt", "w"); |
| 977 | if (dump == nullptr) |
| 978 | return; |
| 979 | |
| 980 | for (auto &item : mItems) |
| 981 | { |
| 982 | if(include_gzdoom_pk3 || fileSystem.GetFileContainer(item.Lump)) JitDumpLog(dump, item.Function); |
| 983 | } |
| 984 | |
| 985 | fclose(dump); |
| 986 | #endif // HAVE_VM_JIT |
| 987 | } |
| 988 | |
| 989 | FunctionCallEmitter::FunctionCallEmitter(VMFunction *func) |
| 990 | { |
nothing calls this directly
no test coverage detected