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

Method DumpJit

source/common/scripting/backend/vmbuilder.cpp:973–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

971}
972
973void 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
989FunctionCallEmitter::FunctionCallEmitter(VMFunction *func)
990{

Callers

nothing calls this directly

Calls 2

JitDumpLogFunction · 0.85
GetFileContainerMethod · 0.80

Tested by

no test coverage detected