Browse Source

* location_force_reg in second_nothing can reuse LOC_CREGISTER

peter 21 years ago
parent
commit
459858305e
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/ncgcnv.pas

+ 5 - 2
compiler/ncgcnv.pas

@@ -480,7 +480,7 @@ interface
         { but use the new size, but we don't know the size of all arrays }
         { but use the new size, but we don't know the size of all arrays }
         newsize:=def_cgsize(resulttype.def);
         newsize:=def_cgsize(resulttype.def);
         if location.loc in [LOC_REGISTER,LOC_CREGISTER] then
         if location.loc in [LOC_REGISTER,LOC_CREGISTER] then
-          location_force_reg(exprasmlist,location,newsize,false)
+          location_force_reg(exprasmlist,location,newsize,true)
         else
         else
           location.size:=newsize;
           location.size:=newsize;
       end;
       end;
@@ -534,7 +534,10 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.64  2004-11-29 17:32:56  peter
+  Revision 1.65  2004-11-29 21:02:08  peter
+    * location_force_reg in second_nothing can reuse LOC_CREGISTER
+
+  Revision 1.64  2004/11/29 17:32:56  peter
     * prevent some IEs with delphi methodpointers
     * prevent some IEs with delphi methodpointers
 
 
   Revision 1.63  2004/11/01 17:41:28  florian
   Revision 1.63  2004/11/01 17:41:28  florian