this has the most painful bug to debug ever, fixed linux this calls not restoring the stack when the function didnt have arguments.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401036
This commit is contained in:
parent
8da18eefac
commit
f9cb20984b
@ -585,7 +585,7 @@ skip_retbuffer:
|
||||
jit_uint32_t total = (Needs_Retbuf) ? g_StackUsage + sizeof(void *) : g_StackUsage;
|
||||
Write_RectifyStack(jit, total);
|
||||
#elif defined PLATFORM_POSIX
|
||||
if (ParamCount)
|
||||
if (hasParams)
|
||||
{
|
||||
/* Pop all parameters from the stack */
|
||||
Write_RectifyStack(jit, g_StackUsage);
|
||||
|
Loading…
Reference in New Issue
Block a user