Fixed calling thiscall functions with 0 parameters
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40748
This commit is contained in:
parent
a994857444
commit
8137f2d29d
@ -509,7 +509,7 @@ void JIT_Compile(CallWrapper *pWrapper, FuncAddrMethod method)
|
||||
|
||||
jit_rewind:
|
||||
/* Write function prologue */
|
||||
Write_Execution_Prologue(jit, (pRet) ? false : true, (ParamCount) ? true : false);
|
||||
Write_Execution_Prologue(jit, (pRet) ? false : true, (ParamCount || Convention == CallConv_ThisCall));
|
||||
|
||||
/* Write parameter push code */
|
||||
for (jit_int32_t i=ParamCount-1; i>=0; i--)
|
||||
|
Loading…
Reference in New Issue
Block a user