Browse Source

* support encoding helper types for LLVM (encode the same type as the
extended class) (fixes webtbs/tw21457 for LLVM)

git-svn-id: trunk@35060 -

Jonas Maebe 8 năm trước cách đây
mục cha
commit
8b1c90124e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/llvm/llvmdef.pas

+ 2 - 0
compiler/llvm/llvmdef.pas

@@ -568,6 +568,8 @@ implementation
                   { opaque for now }
                   { opaque for now }
                   encodedstr:=encodedstr+'i8*'
                   encodedstr:=encodedstr+'i8*'
                 end;
                 end;
+              odt_helper:
+                llvmaddencodedtype_intern(tobjectdef(def).extendeddef,flags,encodedstr);
               else
               else
                 internalerror(2013100601);
                 internalerror(2013100601);
             end;
             end;