* temp results of calls in "with" statements can be in regs

git-svn-id: trunk@4649 -
This commit is contained in:
Jonas Maebe 2006-09-19 09:23:57 +00:00
parent f88aa8de54
commit 355e101bc1

View File

@ -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),