- fixed setup of JIT functions that require extra frame space

https://forum.zdoom.org/viewtopic.php?t=68816
This commit is contained in:
alexey.lysiuk 2020-06-07 11:34:58 +03:00
parent 718e2ea0f5
commit 11ba0be4c2

View file

@ -277,7 +277,7 @@ void JitCompiler::SetupFrame()
offsetD = offsetA + (int)(sfunc->NumRegA * sizeof(void*));
offsetExtra = (offsetD + (int)(sfunc->NumRegD * sizeof(int32_t)) + 15) & ~15;
if (sfunc->SpecialInits.Size() == 0 && sfunc->NumRegS == 0)
if (sfunc->SpecialInits.Size() == 0 && sfunc->NumRegS == 0 && sfunc->ExtraSpace == 0)
{
SetupSimpleFrame();
}