mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 08:49:33 +02:00
- rm bogus ifdef cpu16bitalu from tparamanager.allocparaloc and .freecgpara
(leftover from my initial hacky implementation of returning int64 function results in ax:bx:cx:dx, that is no longer in use?) git-svn-id: trunk@27662 -
This commit is contained in:
parent
af2bc84a9a
commit
d8d35a32c9
@ -290,13 +290,7 @@ implementation
|
||||
LOC_CREGISTER:
|
||||
begin
|
||||
if getsupreg(paraloc^.register)<first_int_imreg then
|
||||
begin
|
||||
cg.getcpuregister(list,paraloc^.register);
|
||||
{$ifdef cpu16bitalu}
|
||||
if paraloc^.Size in [OS_32, OS_S32] then
|
||||
cg.getcpuregister(list,GetNextReg(paraloc^.register));
|
||||
{$endif cpu16bitalu}
|
||||
end;
|
||||
cg.getcpuregister(list,paraloc^.register);
|
||||
end;
|
||||
{$ifndef x86}
|
||||
{ don't allocate ST(x), they're not handled by the register allocator }
|
||||
@ -345,13 +339,7 @@ implementation
|
||||
LOC_CREGISTER:
|
||||
begin
|
||||
if getsupreg(paraloc^.register)<first_int_imreg then
|
||||
begin
|
||||
cg.ungetcpuregister(list,paraloc^.register);
|
||||
{$ifdef cpu16bitalu}
|
||||
if paraloc^.Size in [OS_32, OS_S32] then
|
||||
cg.ungetcpuregister(list,GetNextReg(paraloc^.register));
|
||||
{$endif cpu16bitalu}
|
||||
end;
|
||||
cg.ungetcpuregister(list,paraloc^.register);
|
||||
end;
|
||||
LOC_FPUREGISTER,
|
||||
LOC_CFPUREGISTER:
|
||||
|
Loading…
Reference in New Issue
Block a user