mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:26:24 +02:00
- removed pocall_far16 from the supported calling conventions of the i8086
code generator git-svn-id: trunk@38938 -
This commit is contained in:
parent
eb95dcb85f
commit
d9925f7074
@ -103,7 +103,6 @@ Const
|
|||||||
pocall_stdcall,
|
pocall_stdcall,
|
||||||
pocall_cdecl,
|
pocall_cdecl,
|
||||||
pocall_cppdecl,
|
pocall_cppdecl,
|
||||||
pocall_far16,
|
|
||||||
pocall_pascal
|
pocall_pascal
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -213,7 +213,6 @@ unit cpupara;
|
|||||||
pocall_safecall,
|
pocall_safecall,
|
||||||
pocall_stdcall,
|
pocall_stdcall,
|
||||||
pocall_cppdecl,
|
pocall_cppdecl,
|
||||||
pocall_far16,
|
|
||||||
pocall_pascal :
|
pocall_pascal :
|
||||||
result:=[RS_AX,RS_DX,RS_CX,RS_SI,RS_DI,RS_BX];
|
result:=[RS_AX,RS_DX,RS_CX,RS_SI,RS_DI,RS_BX];
|
||||||
else
|
else
|
||||||
@ -247,7 +246,6 @@ unit cpupara;
|
|||||||
pocall_safecall,
|
pocall_safecall,
|
||||||
pocall_stdcall,
|
pocall_stdcall,
|
||||||
pocall_cppdecl,
|
pocall_cppdecl,
|
||||||
pocall_far16,
|
|
||||||
pocall_pascal :
|
pocall_pascal :
|
||||||
result:=saveregs_pascal;
|
result:=saveregs_pascal;
|
||||||
else
|
else
|
||||||
|
@ -88,7 +88,7 @@ implementation
|
|||||||
function tx86callnode.can_call_ref(var ref: treference): boolean;
|
function tx86callnode.can_call_ref(var ref: treference): boolean;
|
||||||
const
|
const
|
||||||
{$if defined(i8086)}
|
{$if defined(i8086)}
|
||||||
save_all_regs=[pocall_far16,pocall_pascal];
|
save_all_regs=[pocall_pascal];
|
||||||
{$elseif defined(i386)}
|
{$elseif defined(i386)}
|
||||||
save_all_regs=[pocall_far16,pocall_oldfpccall];
|
save_all_regs=[pocall_far16,pocall_oldfpccall];
|
||||||
{$elseif defined(x86_64)}
|
{$elseif defined(x86_64)}
|
||||||
|
Loading…
Reference in New Issue
Block a user