diff --git a/compiler/nobj.pas b/compiler/nobj.pas index d82cf2f7c6..5d0ab815b2 100644 --- a/compiler/nobj.pas +++ b/compiler/nobj.pas @@ -1533,7 +1533,7 @@ implementation if (procdef.funcretloc[calleeside].Location^.loc=LOC_FPUREGISTER) then exit; {$endif x86} - procdef.init_paraloc_info(calleeside); + procdef.init_paraloc_info(callerside); { we can redirect the call if no memory parameter is passed } for i:=0 to procdef.paras.count-1 do begin