mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove a case where we know we don't have a profiler, and avoid incrementing for a distributed factory method. Otherwise such cases could pass a null ASTNode, which will become an assertion failure in a future commit. While we're here, let's standardize on emitting the profiler increment for function entry after the prolog, as if there's e.g an unreachable parameter, the increment can be safely elided anyway.
733 B
733 B