mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:47:56 +02:00
* do not search a node tree which has been found being subject to cse further on
git-svn-id: trunk@26691 -
This commit is contained in:
parent
bb269e53ac
commit
c5523fc780
@ -225,6 +225,10 @@ unit optcse;
|
||||
else
|
||||
plists(arg)^.equalto[plists(arg)^.nodelist.count-1]:=pointer(ptrint(i));
|
||||
plists(arg)^.refs[i]:=pointer(plists(arg)^.refs[i])+1;
|
||||
{ tree has been found, no need to search further,
|
||||
sub-trees have been added by the first occurence of
|
||||
the tree already }
|
||||
result:=fen_norecurse_false;
|
||||
break;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user