mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
* patch from Ludo Brands: remove po_inline artefact from ancient inlining code in sparc parameter handling, resolves #20397
git-svn-id: trunk@19396 -
This commit is contained in:
parent
5754af4061
commit
4d148382dc
@ -201,7 +201,7 @@ implementation
|
||||
begin
|
||||
paraloc^.loc:=LOC_REGISTER;
|
||||
{ high }
|
||||
if (side=callerside) or (po_inline in p.procoptions) then
|
||||
if side=callerside then
|
||||
paraloc^.register:=NR_FUNCTION_RESULT64_HIGH_REG
|
||||
else
|
||||
paraloc^.register:=NR_FUNCTION_RETURN64_HIGH_REG;
|
||||
@ -209,7 +209,7 @@ implementation
|
||||
{ low }
|
||||
paraloc:=result.add_location;
|
||||
paraloc^.loc:=LOC_REGISTER;
|
||||
if (side=callerside) or (po_inline in p.procoptions) then
|
||||
if side=callerside then
|
||||
paraloc^.register:=NR_FUNCTION_RESULT64_LOW_REG
|
||||
else
|
||||
paraloc^.register:=NR_FUNCTION_RETURN64_LOW_REG;
|
||||
|
Loading…
Reference in New Issue
Block a user