浏览代码

* fix IE with -sr and EXTDEBUG

git-svn-id: trunk@5283 -
peter 19 年之前
父节点
当前提交
60069ce3d2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/rgobj.pas

+ 2 - 1
compiler/rgobj.pas

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