mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 17:19:19 +02:00
* 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:
parent
41e8da998c
commit
3987c82bab
@ -539,7 +539,11 @@ implementation
|
||||
begin
|
||||
case p.nodetype of
|
||||
{ floating point constants usually need loading from memory }
|
||||
realconstn,
|
||||
realconstn:
|
||||
begin
|
||||
result:=2;
|
||||
exit;
|
||||
end;
|
||||
setconstn,
|
||||
stringconstn,
|
||||
temprefn,
|
||||
|
Loading…
Reference in New Issue
Block a user