Browse Source

* fixed a_param_ref for large parameters

git-svn-id: trunk@2854 -
Jonas Maebe 19 năm trước cách đây
mục cha
commit
20160f1a35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/cgobj.pas

+ 1 - 1
compiler/cgobj.pas

@@ -817,7 +817,7 @@ implementation
                  ref.offset:=cgpara.location^.reference.offset;
                  { use concatcopy, because it can also be a float which fails when
                    load_ref_ref is used }
-                 g_concatcopy(list,r,ref,tcgsize2size[size]);
+                 g_concatcopy(list,r,ref,cgpara.intsize);
               end
             else
               internalerror(2002071004);