mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In regular swift this is a nice optimization. In embedded swift it's a requirement, because the compiler needs to be able to specialize generic deinits of non-copyable types. The new de-virtualization utilities are called from two places: * from the new DeinitDevirtualizer pass. It replaces the old MoveOnlyDeinitDevirtualization, which is very basic and does not fulfill the needs for embedded swift. * from MandatoryPerformanceOptimizations for embedded swift
1013 B
1013 B