Преглед на файлове

* 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 }