mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
With the advent of dynamic_function_ref the actual callee of such a ref my vary. Optimizations should not assume to know the content of a function referenced by dynamic_function_ref. Introduce getReferencedFunctionOrNull which will return null for such function refs. And getInitialReferencedFunction to return the referenced function. Use as appropriate. rdar://50959798
5.1 KiB
5.1 KiB