mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 13:28:05 +02:00
* reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one
git-svn-id: trunk@33245 -
This commit is contained in:
parent
b59219b8e0
commit
4731ebeb50
@ -490,6 +490,7 @@ unit optloop;
|
||||
|
||||
result:=internalstatements(newcodestatements);
|
||||
addstatement(newcodestatements,initcode);
|
||||
initcode:=nil;
|
||||
addstatement(newcodestatements,node);
|
||||
addstatement(newcodestatements,deletecode);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user