Explorar el Código

* fixed empty superregister set detection in constructor

git-svn-id: trunk@4333 -
Jonas Maebe hace 19 años
padre
commit
fd4b348e7c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/rgobj.pas

+ 1 - 1
compiler/rgobj.pas

@@ -368,7 +368,7 @@ unit rgobj;
          i : Tsuperregister;
        begin
          { empty super register sets can cause very strange problems }
-         if high(Ausable)=0 then
+         if high(Ausable)=-1 then
            internalerror(200210181);
          extend_live_range_backwards := false;
          supregset_reset(extended_backwards,false,high(tsuperregister));