* calculate complexity of exit nodes correctly

git-svn-id: trunk@25245 -
This commit is contained in:
florian 2013-08-11 21:13:20 +00:00
parent 0a22199738
commit 5d4a094799

View File

@ -673,6 +673,16 @@ implementation
{$endif ARM}
exit;
end;
exitn:
begin
inc(result,2);
if (result >= NODE_COMPLEXITY_INF) then
begin
result := NODE_COMPLEXITY_INF;
exit;
end;
p:=texitnode(p).left;
end;
tempcreaten,
tempdeleten,
pointerconstn,