浏览代码

+ added posavestdregs used for cdecl AND stdcall functions
(saves ESI EDI and EBX for i386)

pierre 27 年之前
父节点
当前提交
ee148a5d08
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      compiler/symconst.inc

+ 6 - 2
compiler/symconst.inc

@@ -65,7 +65,7 @@
        postdcall        = $4000000;  { procedure uses stdcall call }
        postdcall        = $4000000;  { procedure uses stdcall call }
        pomsgstr         = $8000000;  { method for string message handling }
        pomsgstr         = $8000000;  { method for string message handling }
        pomsgint         = $10000000; { method for int message handling }
        pomsgint         = $10000000; { method for int message handling }
-
+       posavestdregs    = $20000000; { save std regs cdecl and stdcall need that ! }
        { relevant options for assigning a proc or a procvar to a procvar }
        { relevant options for assigning a proc or a procvar to a procvar }
        po_compatibility_options = $7FFFFFFF-
        po_compatibility_options = $7FFFFFFF-
          (pomethodpointer+povirtualmethod+pooverridingmethod);
          (pomethodpointer+povirtualmethod+pooverridingmethod);
@@ -97,7 +97,11 @@
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.3  1999-03-05 01:14:23  pierre
+  Revision 1.4  1999-04-16 10:28:26  pierre
+    + added posavestdregs used for cdecl AND stdcall functions
+      (saves ESI EDI and EBX for i386)
+
+  Revision 1.3  1999/03/05 01:14:23  pierre
     * bug0198 : call conventions for methods
     * bug0198 : call conventions for methods
       not yet implemented is the control of same calling convention
       not yet implemented is the control of same calling convention
       for virtual and child's virtual
       for virtual and child's virtual