mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
* moved the AVR-specific comment next to the AVR specific code
git-svn-id: branches/z80@44521 -
This commit is contained in:
parent
54811831b5
commit
71cadc0a3e
@ -743,12 +743,12 @@ implementation
|
|||||||
function tcg.GetNextReg(const r: TRegister): TRegister;
|
function tcg.GetNextReg(const r: TRegister): TRegister;
|
||||||
begin
|
begin
|
||||||
{$ifndef AVR}
|
{$ifndef AVR}
|
||||||
{ the AVR code generator depends on the fact that it can do GetNextReg also on physical registers }
|
|
||||||
if getsupreg(r)<first_int_imreg then
|
if getsupreg(r)<first_int_imreg then
|
||||||
internalerror(2013051401);
|
internalerror(2013051401);
|
||||||
if not has_next_reg[getsupreg(r)] then
|
if not has_next_reg[getsupreg(r)] then
|
||||||
internalerror(2017091103);
|
internalerror(2017091103);
|
||||||
{$else AVR}
|
{$else AVR}
|
||||||
|
{ the AVR code generator depends on the fact that it can do GetNextReg also on physical registers }
|
||||||
if (getsupreg(r)>=first_int_imreg) and not(has_next_reg[getsupreg(r)]) then
|
if (getsupreg(r)>=first_int_imreg) and not(has_next_reg[getsupreg(r)]) then
|
||||||
internalerror(2017091103);
|
internalerror(2017091103);
|
||||||
{$endif AVR}
|
{$endif AVR}
|
||||||
|
Loading…
Reference in New Issue
Block a user