mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 17:30:25 +02:00
* Additionally check procedure's para_stack_size before doing stackframe optimization. It handles the case when a parameter is passed partially in registers and partially in the stack.
git-svn-id: trunk@5486 -
This commit is contained in:
parent
96bfb7ce97
commit
2fd4be4637
@ -774,7 +774,7 @@ implementation
|
||||
}
|
||||
generate_parameter_info;
|
||||
if not(stack_tainting_parameter) and
|
||||
not(has_assembler_child) then
|
||||
not(has_assembler_child) and (para_stack_size=0) then
|
||||
begin
|
||||
{ Only need to set the framepointer }
|
||||
framepointer:=NR_STACK_POINTER_REG;
|
||||
|
Loading…
Reference in New Issue
Block a user