mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 22:49:17 +02:00
* fix compilerproc for default=oldfpccall
This commit is contained in:
parent
0e10e98fae
commit
64bc322e0e
@ -123,8 +123,14 @@ unit cpupara;
|
|||||||
case calloption of
|
case calloption of
|
||||||
pocall_internproc :
|
pocall_internproc :
|
||||||
result:=[];
|
result:=[];
|
||||||
|
pocall_compilerproc :
|
||||||
|
begin
|
||||||
|
if pocall_default=pocall_oldfpccall then
|
||||||
|
result:=[RS_EAX,RS_EDX,RS_ECX,RS_ESI,RS_EDI,RS_EBX]
|
||||||
|
else
|
||||||
|
result:=[RS_EAX,RS_EDX,RS_ECX];
|
||||||
|
end;
|
||||||
pocall_inline,
|
pocall_inline,
|
||||||
pocall_compilerproc,
|
|
||||||
pocall_register,
|
pocall_register,
|
||||||
pocall_safecall,
|
pocall_safecall,
|
||||||
pocall_stdcall,
|
pocall_stdcall,
|
||||||
@ -243,7 +249,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.24 2003-09-07 22:09:35 peter
|
Revision 1.25 2003-09-08 18:28:51 peter
|
||||||
|
* fix compilerproc for default=oldfpccall
|
||||||
|
|
||||||
|
Revision 1.24 2003/09/07 22:09:35 peter
|
||||||
* preparations for different default calling conventions
|
* preparations for different default calling conventions
|
||||||
* various RA fixes
|
* various RA fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user