|
@@ -495,7 +495,10 @@ unit cpupara;
|
|
begin
|
|
begin
|
|
intparareg:=0;
|
|
intparareg:=0;
|
|
mmparareg:=0;
|
|
mmparareg:=0;
|
|
- parasize:=0;
|
|
|
|
|
|
+ if target_info.system=system_x86_64_win64 then
|
|
|
|
+ parasize:=4*8
|
|
|
|
+ else
|
|
|
|
+ parasize:=0;
|
|
{ calculate the registers for the normal parameters }
|
|
{ calculate the registers for the normal parameters }
|
|
create_paraloc_info_intern(p,callerside,p.paras,intparareg,mmparareg,parasize);
|
|
create_paraloc_info_intern(p,callerside,p.paras,intparareg,mmparareg,parasize);
|
|
{ append the varargs }
|
|
{ append the varargs }
|
|
@@ -513,7 +516,10 @@ unit cpupara;
|
|
begin
|
|
begin
|
|
intparareg:=0;
|
|
intparareg:=0;
|
|
mmparareg:=0;
|
|
mmparareg:=0;
|
|
- parasize:=0;
|
|
|
|
|
|
+ if target_info.system=system_x86_64_win64 then
|
|
|
|
+ parasize:=4*8
|
|
|
|
+ else
|
|
|
|
+ parasize:=0;
|
|
create_paraloc_info_intern(p,side,p.paras,intparareg,mmparareg,parasize);
|
|
create_paraloc_info_intern(p,side,p.paras,intparareg,mmparareg,parasize);
|
|
{ Create Function result paraloc }
|
|
{ Create Function result paraloc }
|
|
create_funcretloc_info(p,side);
|
|
create_funcretloc_info(p,side);
|