mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 12:46:06 +02:00
* set the node complexity of stringconstn and setconstn to 1 rather than
respectively to 0 and 255 (both generally require one memory load); the setconstn complexity of 255 also caused the node cse to replace them with temprefn in some cases, which wreaked havoc with the JVM practice of determining whether in-expressions can be handled by the generic code generator or not git-svn-id: branches/jvmbackend@18756 -
This commit is contained in:
parent
76de70e683
commit
eb8ba875db
@ -542,6 +542,8 @@ implementation
|
|||||||
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,
|
||||||
|
setconstn,
|
||||||
|
stringconstn,
|
||||||
temprefn,
|
temprefn,
|
||||||
loadvmtaddrn,
|
loadvmtaddrn,
|
||||||
{ main reason for the next one: we can't take the address of }
|
{ main reason for the next one: we can't take the address of }
|
||||||
@ -635,7 +637,6 @@ implementation
|
|||||||
{$endif ARM}
|
{$endif ARM}
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
stringconstn,
|
|
||||||
tempcreaten,
|
tempcreaten,
|
||||||
tempdeleten,
|
tempdeleten,
|
||||||
pointerconstn,
|
pointerconstn,
|
||||||
|
Loading…
Reference in New Issue
Block a user