瀏覽代碼

- removed superfluous location_force_reg() in second_nothing

Jonas Maebe 21 年之前
父節點
當前提交
9e24c28774
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      compiler/ncgcnv.pas

+ 5 - 5
compiler/ncgcnv.pas

@@ -489,10 +489,7 @@ interface
 
         { but use the new size, but we don't know the size of all arrays }
         newsize:=def_cgsize(resulttype.def);
-        if location.loc in [LOC_REGISTER,LOC_CREGISTER] then
-          location_force_reg(exprasmlist,location,newsize,true)
-        else
-          location.size:=newsize;
+        location.size:=newsize;
       end;
 
 
@@ -544,7 +541,10 @@ end.
 
 {
   $Log$
-  Revision 1.67  2004-12-10 23:38:54  jonas
+  Revision 1.68  2004-12-11 15:25:40  jonas
+    - removed superfluous location_force_reg() in second_nothing
+
+  Revision 1.67  2004/12/10 23:38:54  jonas
     * fixed type conversion between same-size ints with different signs in
       case the value is already in a register