mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 01:09:27 +02:00
* set the para sizes correctly for push_addr_params in i8086 far data memory
models. This breaks compilation of the system unit in the compact and large memory models once again, but the generated code wasn't correct in the first place, so it's not really a loss. git-svn-id: trunk@27275 -
This commit is contained in:
parent
3cd9cef182
commit
ee7a6dfc2e
@ -446,8 +446,8 @@ unit cpupara;
|
||||
pushaddr:=push_addr_param(hp.varspez,paradef,p.proccalloption);
|
||||
if pushaddr then
|
||||
begin
|
||||
paralen:=sizeof(aint);
|
||||
paracgsize:=OS_ADDR;
|
||||
paralen:=voidpointertype.size;
|
||||
paracgsize:=int_cgsize(voidpointertype.size);
|
||||
paradef:=getpointerdef(paradef);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user