mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If a class does not have a custom @objc name, objc_getClass() can find it at runtime by calling the Swift runtime's metadata demangler hook. This avoids the static initializer on startup. If the class has a custom runtime name we still need the static initializer unfortunately. Fixes <rdar://problem/49660515>.
9.6 KiB
9.6 KiB