mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If we want it to be a Swift function, we'll have to thunk in the runtime when using a system implementaton like dispatch_once_f, since the function pointer ABIs could be different, depending on the target. Dealing with that, or avoiding it on a per-target basis, is more complexiity than a micro-optimization of the slow path of this builtin could possibly be worth.
67 KiB
67 KiB