mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 04:19:26 +02:00
* different definitions for the same Objective-C class (can happen with
external class declarations) need a type conversion in LLVM (because they're represented by different LLVM types) git-svn-id: trunk@42970 -
This commit is contained in:
parent
dcf4e4cb2c
commit
cdafe680c2
@ -87,6 +87,9 @@ class function tllvmtypeconvnode.target_specific_need_equal_typeconv(fromdef, to
|
||||
{ same for two different specialisations }
|
||||
((df_specialization in fromdef.defoptions) and
|
||||
(df_specialization in todef.defoptions)) or
|
||||
{ external objc classes referring to the same type }
|
||||
(is_objc_class_or_protocol(fromdef) and
|
||||
is_objc_class_or_protocol(todef)) or
|
||||
{ typed from/to untyped filedef in ISO mode: have to keep because of
|
||||
the get/put buffer }
|
||||
((fromdef.typ=filedef) and
|
||||
|
Loading…
Reference in New Issue
Block a user