* encode objc classrefdefs as objc_idtype as that is how they are typed

elsewhere in the compiler as well

git-svn-id: trunk@32914 -
This commit is contained in:
Jonas Maebe 2016-01-10 17:22:11 +00:00
parent dacfb1a6ff
commit 90071e04c4

View File

@ -389,6 +389,8 @@ implementation
llvmaddencodedtype_intern(tobjectdef(tclassrefdef(def).pointeddef).vmt_def,flags,encodedstr);
encodedstr:=encodedstr+'*';
end
else if is_objcclass(tclassrefdef(def).pointeddef) then
llvmaddencodedtype_intern(objc_idtype,flags,encodedstr)
else
encodedstr:=encodedstr+'i8*'
end;