diff --git a/compiler/cgobj.pas b/compiler/cgobj.pas index d661b3c6d0..2688536a32 100644 --- a/compiler/cgobj.pas +++ b/compiler/cgobj.pas @@ -743,12 +743,12 @@ implementation function tcg.GetNextReg(const r: TRegister): TRegister; begin {$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) and not(has_next_reg[getsupreg(r)]) then internalerror(2017091103); {$endif AVR}