Don't try to generate code for abstract functions during JIT dump

This commit is contained in:
Ricardo Luís Vaz Silva 2023-04-02 08:21:45 -03:00 committed by Christoph Oelckers
parent fa8df5a4e5
commit 3cb8f1be44

View file

@ -44,6 +44,13 @@ void JitDumpLog(FILE *file, VMScriptFunction *sfunc)
{
using namespace asmjit;
StringLogger logger;
if(sfunc->VarFlags & VARF_Abstract)
{
// Printf(TEXTCOLOR_ORANGE "Skipping abstract function during JIT dump: %s\n", sfunc->PrintableName.GetChars());
return;
}
try
{
ThrowingErrorHandler errorHandler;