* use the (sorted) paras rather than the (unsorted) parasymtable when

generating method signatures

git-svn-id: branches/objc@13661 -
This commit is contained in:
Jonas Maebe 2009-09-06 17:15:00 +00:00
parent ac1b340755
commit 27385550f8

View File

@ -502,9 +502,9 @@ implementation
paramgr.ret_in_param(pd.returndef,pocall_cdecl) then
inc(totalsize,sizeof(pint));
{$endif}
for i:=0 to pd.parast.symlist.count-1 do
for i:=0 to pd.paras.count-1 do
begin
vs:=tparavarsym(pd.parast.symlist[i]);
vs:=tparavarsym(pd.paras[i]);
{ addencodedtype always assumes a value parameter, so add
a pointer indirection for var/out parameters. }
if not paramanager.push_addr_param(vs_value,vs.vardef,pocall_cdecl) and