mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
+ initialize the initialloc for push_addr_param parameters correctly in i8086
far data memory models git-svn-id: trunk@27455 -
This commit is contained in:
parent
cf1d60b8eb
commit
36aae69e2b
@ -1579,7 +1579,7 @@ implementation
|
||||
|
||||
isaddr:=paramanager.push_addr_param(vs.varspez,vs.vardef,pd.proccalloption);
|
||||
if isaddr then
|
||||
vs.initialloc.size:=OS_ADDR
|
||||
vs.initialloc.size:=def_cgsize(voidpointertype)
|
||||
else
|
||||
vs.initialloc.size:=def_cgsize(vs.vardef);
|
||||
|
||||
@ -1597,7 +1597,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
if isaddr then
|
||||
tg.GetLocal(list,sizeof(pint),voidpointertype,vs.initialloc.reference)
|
||||
tg.GetLocal(list,voidpointertype.size,voidpointertype,vs.initialloc.reference)
|
||||
else
|
||||
tg.GetLocal(list,vs.getsize,tparavarsym(sym).paraloc[calleeside].alignment,vs.vardef,vs.initialloc.reference);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user