* assign a complexity of 2 to float nodes because they usually involve a loading from memory

git-svn-id: trunk@22097 -
This commit is contained in:
florian 2012-08-15 18:28:47 +00:00
parent 41e8da998c
commit 3987c82bab

View File

@ -539,7 +539,11 @@ implementation
begin begin
case p.nodetype of case p.nodetype of
{ floating point constants usually need loading from memory } { floating point constants usually need loading from memory }
realconstn, realconstn:
begin
result:=2;
exit;
end;
setconstn, setconstn,
stringconstn, stringconstn,
temprefn, temprefn,