mirror of
https://github.com/apple/swift.git
synced 2026-10-06 12:37:28 +02:00
This commit removes references to sortedIndices from outside of an NDEBUG block despite it being defined in an NDEBUG block. At the same time, I noticed that we really didn't need sortedIndices. Instead, just use the minimum element as the representative.... so I just added a min element check. Another possibility we could consider in the future is just making it non-canonical and leaving the fixup to later occur lazily. rdar://181024977