From 4b93fa1323d6e83ba18bb5f12a30fe8bb15583fc Mon Sep 17 00:00:00 2001 From: nickysn Date: Thu, 18 Jul 2013 21:01:41 +0000 Subject: [PATCH] * set all the i8086 calling conventions' volatile registers to be the same as the 'pascal' calling convention; this should make cdecl compatible with 16-bit C compilers git-svn-id: trunk@25128 - --- compiler/i8086/cpupara.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/i8086/cpupara.pas b/compiler/i8086/cpupara.pas index 7b0dc31b7b..b27feedab7 100644 --- a/compiler/i8086/cpupara.pas +++ b/compiler/i8086/cpupara.pas @@ -204,8 +204,7 @@ unit cpupara; pocall_stdcall, pocall_cdecl, pocall_cppdecl, - pocall_mwpascal : - result:=[RS_AX,RS_DX,RS_CX]; + pocall_mwpascal, pocall_far16, pocall_pascal, pocall_oldfpccall :