* 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:
florian 2014-02-06 19:27:11 +00:00
parent bb269e53ac
commit c5523fc780

View File

@ -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;