소스 검색

* no need to synchronise the upper bound of a for-loop after the loop
anymore if it is a regvar, because it cannot be a regvar anymore
after the fix for tw8883

git-svn-id: trunk@7358 -

Jonas Maebe 18 년 전
부모
커밋
fdc813db9a
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      compiler/ncgflw.pas

+ 2 - 3
compiler/ncgflw.pas

@@ -390,9 +390,8 @@ implementation
                  get_used_regvars(right,usedregvars);
                  { loop body }
                  get_used_regvars(t2,usedregvars);
-                 { end value if necessary }
-                 if (t1.location.loc = LOC_CREGISTER) then
-                   get_used_regvars(t1,usedregvars);
+                 { end value (t1) is not necessary (it cannot be a regvar, }
+                 { see webtbs/tw8883)                                      }
 
                  gen_sync_regvars(current_asmdata.CurrAsmList,usedregvars);
                end