Browse Source

* support formaldef in def_cgsize (-> OS_ADDR)

git-svn-id: trunk@24760 -
Jonas Maebe 12 năm trước cách đây
mục cha
commit
53ba7fbb8b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      compiler/defutil.pas

+ 2 - 1
compiler/defutil.pas

@@ -1173,7 +1173,8 @@ implementation
                 result:=tcgsize(ord(result)+(ord(OS_S8)-ord(OS_8)));
             end;
           classrefdef,
-          pointerdef:
+          pointerdef,
+          formaldef:
             begin
 {$ifdef x86}
               if (def.typ=pointerdef) and