Просмотр исходного кода

* moved the AVR-specific comment next to the AVR specific code

git-svn-id: branches/z80@44521 -
nickysn 5 лет назад
Родитель
Сommit
71cadc0a3e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      compiler/cgobj.pas

+ 1 - 1
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 then
           internalerror(2013051401);
         if not has_next_reg[getsupreg(r)] then
           internalerror(2017091103);
 {$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
           internalerror(2017091103);
 {$endif AVR}