Pārlūkot izejas kodu

- removed pocall_mwpascal from the supported calling conventions of the i8086
code generator

git-svn-id: trunk@38937 -

nickysn 7 gadi atpakaļ
vecāks
revīzija
eb95dcb85f
2 mainītis faili ar 2 papildinājumiem un 7 dzēšanām
  1. 1 2
      compiler/i8086/cpuinfo.pas
  2. 1 5
      compiler/i8086/cpupara.pas

+ 1 - 2
compiler/i8086/cpuinfo.pas

@@ -104,8 +104,7 @@ Const
      pocall_cdecl,
      pocall_cdecl,
      pocall_cppdecl,
      pocall_cppdecl,
      pocall_far16,
      pocall_far16,
-     pocall_pascal,
-     pocall_mwpascal
+     pocall_pascal
    ];
    ];
 
 
    cputypestr : array[tcputype] of string[10] = ('',
    cputypestr : array[tcputype] of string[10] = ('',

+ 1 - 5
compiler/i8086/cpupara.pas

@@ -164,9 +164,7 @@ unit cpupara;
               else
               else
                 result:=
                 result:=
                   (not(calloption in (cdecl_pocalls)) and
                   (not(calloption in (cdecl_pocalls)) and
-                   (def.size>sizeof(aint))) or
-                  ((calloption = pocall_mwpascal) and
-                   (varspez=vs_const));
+                   (def.size>sizeof(aint)));
             end;
             end;
           arraydef :
           arraydef :
             begin
             begin
@@ -215,7 +213,6 @@ unit cpupara;
           pocall_safecall,
           pocall_safecall,
           pocall_stdcall,
           pocall_stdcall,
           pocall_cppdecl,
           pocall_cppdecl,
-          pocall_mwpascal,
           pocall_far16,
           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];
@@ -250,7 +247,6 @@ unit cpupara;
           pocall_safecall,
           pocall_safecall,
           pocall_stdcall,
           pocall_stdcall,
           pocall_cppdecl,
           pocall_cppdecl,
-          pocall_mwpascal,
           pocall_far16,
           pocall_far16,
           pocall_pascal :
           pocall_pascal :
             result:=saveregs_pascal;
             result:=saveregs_pascal;