Skip to content

Commit f339b4b

Browse files
committed
---
yaml --- r: 346055 b: refs/heads/master c: 90a4fe1 h: refs/heads/master i: 346053: 7f85705 346051: 7cc70cd 346047: 5e38dee
1 parent 017267f commit f339b4b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3dcf8251b8b62b674dae2585fc5bb0ac6e91a2ee
2+
refs/heads/master: 90a4fe129b2de7d36eacbf7cb62fa2236dbc7134
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/stdlib/public/core/StringStorage.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ extension _AbstractStringStorage {
132132
return _nativeIsEqual(_unsafeUncheckedDowncast(other, to: _StringStorage.self))
133133
case .shared:
134134
return _nativeIsEqual(_unsafeUncheckedDowncast(other, to: _SharedStringStorage.self))
135+
#if !(arch(i386) || arch(arm))
135136
case .tagged:
136137
fallthrough
138+
#endif
137139
case .cocoa:
138140
//we're allowed to crash, but for compatibility reasons NSCFString allows non-strings here
139141
if _isNSString(other) != 1 {
@@ -188,7 +190,7 @@ final internal class _StringStorage: __SwiftNativeNSString, _AbstractStringStora
188190

189191
internal var _reserved: UInt16
190192

191-
override internal var count: Int {
193+
internal var count: Int {
192194
@inline(__always) get { return _count }
193195
@inline(__always) set { _count = newValue }
194196
}

0 commit comments

Comments
 (0)