瀏覽代碼

* unroll more aggressively

git-svn-id: trunk@38686 -
florian 7 年之前
父節點
當前提交
fff6e0ecdb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/optloop.pas

+ 1 - 1
compiler/optloop.pas

@@ -126,7 +126,7 @@ unit optloop;
                   multiply unroll by two here because we can get rid
                   of the counter variable completely and replace it by a constant
                   if unrolls=counts }
-                if unrolls*2>counts then
+                if unrolls*2>=counts then
                   unrolls:=counts;
 
                 { create block statement }