jkshtj
(Kshitij Jain)
1
Could some one show me example Swift code that would lead to the usage of alloc_ref_dynamic instruction in SIL?
Joe_Groff
(Joe Groff)
2
alloc_ref_dynamic allocates an object based on a dynamic type value. It usually gets emitted in ObjC bridging thunks for initializers, since an Objective-C -init method can be called on arbitrary subclasses.