mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
+ 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 -
This commit is contained in:
parent
9de2847865
commit
01bfed76e3
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user