Explorar o código

* 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 -
nickysn %!s(int64=12) %!d(string=hai) anos
pai
achega
4b93fa1323
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      compiler/i8086/cpupara.pas

+ 1 - 2
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 :