Sfoglia il codice sorgente

* fix IE with -sr and EXTDEBUG

git-svn-id: trunk@5283 -
peter 18 anni fa
parent
commit
60069ce3d2
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      compiler/rgobj.pas

+ 2 - 1
compiler/rgobj.pas

@@ -697,7 +697,8 @@ unit rgobj;
       begin
       begin
         supreg:=getsupreg(r);
         supreg:=getsupreg(r);
 {$ifdef extdebug}
 {$ifdef extdebug}
-        if supreg>=maxreginfo then
+        if not (cs_no_regalloc in current_settings.globalswitches) and
+           (supreg>=maxreginfo) then
           internalerror(200411061);
           internalerror(200411061);
 {$endif extdebug}
 {$endif extdebug}
         if supreg>=first_imaginary then
         if supreg>=first_imaginary then