Browse Source

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

git-svn-id: trunk@4649 -
Jonas Maebe 19 years ago
parent
commit
355e101bc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pstatmnt.pas

+ 1 - 1
compiler/pstatmnt.pas

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