mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib]Un-revert string comparison (#14694)
Restore (un-revert) sting comparison, with fixes More exhaustive testing of opaque strings, which consistently reproduces prior sporadic failure. Shims fixups. Some test tweaking.
This commit is contained in:
committed by
Michael Ilseman
parent
76af5c5b16
commit
0661de22a2
@@ -16,7 +16,7 @@
|
||||
|
||||
%{
|
||||
# The sizes to generate code for.
|
||||
sizes = [16]
|
||||
sizes = [2, 8, 16]
|
||||
}%
|
||||
|
||||
% for N in sizes:
|
||||
@@ -56,7 +56,7 @@ extension _FixedArray${N} {
|
||||
|
||||
@_inlineable // FIXME(sil-serialize-all)
|
||||
@_versioned // FIXME(sil-serialize-all)
|
||||
internal var count : Int {
|
||||
internal var count: Int {
|
||||
@inline(__always) get { return Int(truncatingIfNeeded: _count) }
|
||||
@inline(__always) set { _count = Int8(newValue) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user