mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 11:39:39 +02:00
- removed commented unused assignintreg() procedure
git-svn-id: trunk@648 -
This commit is contained in:
parent
8cbdbc4951
commit
614f49355b
@ -318,31 +318,6 @@ unit cpupara;
|
|||||||
loc : tcgloc;
|
loc : tcgloc;
|
||||||
paracgsize: tcgsize;
|
paracgsize: tcgsize;
|
||||||
|
|
||||||
(*
|
|
||||||
procedure assignintreg;
|
|
||||||
|
|
||||||
begin
|
|
||||||
if nextintreg<=RS_R10 then
|
|
||||||
begin
|
|
||||||
paraloc^.loc:=LOC_REGISTER;
|
|
||||||
paraloc^.register:=newreg(R_INTREGISTER,nextintreg,R_SUBNONE);
|
|
||||||
inc(nextintreg);
|
|
||||||
if target_info.abi=abi_powerpc_aix then
|
|
||||||
inc(stack_offset,4);
|
|
||||||
end
|
|
||||||
else
|
|
||||||
begin
|
|
||||||
paraloc^.loc:=LOC_REFERENCE;
|
|
||||||
if (side = callerside) then
|
|
||||||
paraloc^.reference.index:=NR_STACK_POINTER_REG
|
|
||||||
else
|
|
||||||
paraloc^.reference.index:=NR_R12;
|
|
||||||
paraloc^.reference.offset:=stack_offset;
|
|
||||||
inc(stack_offset,4);
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
*)
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
{$ifdef extdebug}
|
{$ifdef extdebug}
|
||||||
if po_explicitparaloc in p.procoptions then
|
if po_explicitparaloc in p.procoptions then
|
||||||
|
Loading…
Reference in New Issue
Block a user