mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* temp results of calls in "with" statements can be in regs
git-svn-id: trunk@4649 -
This commit is contained in:
parent
f88aa8de54
commit
355e101bc1
@ -510,7 +510,7 @@ implementation
|
||||
{ when right is a call then load it first in a temp }
|
||||
if p.nodetype=calln then
|
||||
begin
|
||||
calltempnode:=ctempcreatenode.create(p.resulttype,p.resulttype.def.size,tt_persistent,false);
|
||||
calltempnode:=ctempcreatenode.create(p.resulttype,p.resulttype.def.size,tt_persistent,true);
|
||||
addstatement(newstatement,calltempnode);
|
||||
addstatement(newstatement,cassignmentnode.create(
|
||||
ctemprefnode.create(calltempnode),
|
||||
|
Loading…
Reference in New Issue
Block a user