Explorar o código

* fixed empty superregister set detection in constructor

git-svn-id: trunk@4333 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
fd4b348e7c
Modificáronse 1 ficheiros con 1 adicións e 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));