Skip to content

Commit 1f195ab

Browse files
authored
Merge pull request swiftlang#15601 from gottesmm/swift-4.2-branch-_adoptStorage
2 parents ea4e514 + b509c64 commit 1f195ab

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

stdlib/public/core/Arrays.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ extension ${Self} : RangeReplaceableCollection, ArrayProtocol {
11771177
@_versioned
11781178
@_semantics("array.uninitialized")
11791179
internal static func _adoptStorage(
1180-
_ storage: _ContiguousArrayStorage<Element>, count: Int
1180+
_ storage: __owned _ContiguousArrayStorage<Element>, count: Int
11811181
) -> (Array, UnsafeMutablePointer<Element>) {
11821182

11831183
let innerBuffer = _ContiguousArrayBuffer<Element>(

test/SILOptimizer/optionset.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// RUN: %target-swift-frontend -parse-as-library -primary-file %s -Osize -sil-verify-all -module-name=test -emit-sil | %FileCheck %s
33
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
44

5-
// XFAIL: plus_zero_runtime
6-
75
public struct TestOptions: OptionSet {
86
public let rawValue: Int
97
public init(rawValue: Int) { self.rawValue = rawValue }

0 commit comments

Comments
 (0)