benchmarks: make the benchmarks compilable with the swift 4.1 compiler

This commit is contained in:
Erik Eckstein
2018-04-02 17:38:15 -07:00
parent 9be60dd7b2
commit 7aed128e0b
4 changed files with 23 additions and 2 deletions

View File

@@ -22,7 +22,6 @@ let arrayCount = 1024
// This test case exposes rdar://17440222 which caused rdar://17974483 (popFront
// being really slow).
@usableFromInline
protocol MyArrayBufferProtocol : MutableCollection, RandomAccessCollection {
mutating func myReplace<C>(
_ subRange: Range<Int>,