|
@@ -793,7 +793,7 @@ implementation
|
|
|
}
|
|
|
paramanager.freecgpara(current_asmdata.CurrAsmList,ppn.tempcgpara);
|
|
|
tmpparaloc:=ppn.tempcgpara.location;
|
|
|
- sizeleft:=ppn.tempcgpara.intsize;
|
|
|
+ sizeleft:=ppn.parasym.paraloc[callerside].intsize;
|
|
|
calleralignment:=ppn.parasym.paraloc[callerside].alignment;
|
|
|
tmpalignment:=ppn.tempcgpara.alignment;
|
|
|
if (tmpalignment=0) or
|
|
@@ -857,7 +857,7 @@ implementation
|
|
|
reference_reset_base(htempref,tmpparaloc^.reference.index,tmpparaloc^.reference.offset,ctempposinvalid,tmpalignment,[]);
|
|
|
{ use concatcopy, because it can also be a float which fails when
|
|
|
load_ref_ref is used }
|
|
|
- if (ppn.tempcgpara.size <> OS_NO) then
|
|
|
+ if (tmpparaloc^.size <> OS_NO) then
|
|
|
cg.g_concatcopy(current_asmdata.CurrAsmList,htempref,href,tcgsize2size[tmpparaloc^.size])
|
|
|
else
|
|
|
cg.g_concatcopy(current_asmdata.CurrAsmList,htempref,href,sizeleft)
|