Browse Source

+ support for passing parameters via pre-allocated stack space on i386
(override/adjust cgutils.use_fixed_stack to change conditions where
this is done, currently only activated for darwin-i386)
* make sure the stack is always aligned to 16 bytes on darwin-i386

git-svn-id: trunk@2841 -

Jonas Maebe 19 years ago
parent
commit
01bfed76e3
1 changed files with 0 additions and 8 deletions
  1. 0 8
      compiler/x86_64/cpupi.pas

+ 0 - 8
compiler/x86_64/cpupi.pas

@@ -33,7 +33,6 @@ interface
     type
        tx86_64procinfo = class(tcgprocinfo)
          function calc_stackframe_size:longint;override;
-         procedure allocate_push_parasize(size:longint);override;
        end;
 
 
@@ -45,13 +44,6 @@ implementation
       tgobj;
 
 
-    procedure tx86_64procinfo.allocate_push_parasize(size:longint);
-      begin
-        if size>maxpushedparasize then
-          maxpushedparasize:=size;
-      end;
-
-
     function tx86_64procinfo.calc_stackframe_size:longint;
       begin
         maxpushedparasize:=align(maxpushedparasize,max(aktalignment.localalignmin,16));