Explorar o código

* do not generate a vmt record for generics, they are only needed for specializations

git-svn-id: trunk@31261 -
florian %!s(int64=10) %!d(string=hai) anos
pai
achega
f1decfb6b6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/pdecobj.pas

+ 1 - 0
compiler/pdecobj.pas

@@ -1534,6 +1534,7 @@ implementation
         { generate vmt space if needed }
         if not(oo_has_vmt in current_structdef.objectoptions) and
            not(oo_is_forward in current_structdef.objectoptions) and
+           not(parse_generic) and
            { no vmt for helpers ever }
            not is_objectpascal_helper(current_structdef) and
            (