* fixes loop unrolling

git-svn-id: trunk@11391 -
This commit is contained in:
florian 2008-07-17 19:49:03 +00:00
parent b3d983ce07
commit 4dc547e01c

View File

@ -34,6 +34,7 @@ unit optunrol;
uses
globtype,globals,constexp,
symsym,
cpuinfo,
nutils,
nbas,nflw,ncon,ninl,ncal,nld;
@ -112,7 +113,7 @@ unit optunrol;
if (counts mod unrolls<>0) and
((counts mod unrolls)=unrolls-i) then
begin
tfornode(node).entrylabel:=clabelnode.create(cnothingnode.create,nil);
tfornode(node).entrylabel:=clabelnode.create(cnothingnode.create,tlabelsym.create('$optunrol'));
addstatement(unrollstatement,tfornode(node).entrylabel);
end;