Skip to content

Commit 4267d4d

Browse files
committed
[stdlib] Restore @inlinable for _getElementSlowPath
Done to address benchmark regressions.
1 parent e4c65d1 commit 4267d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/ArrayBuffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ extension _ArrayBuffer {
390390
}
391391

392392
@inline(never)
393-
@usableFromInline
393+
@inlinable // @specializable
394394
internal func _getElementSlowPath(_ i: Int) -> AnyObject {
395395
_sanityCheck(
396396
_isClassOrObjCExistential(Element.self),

0 commit comments

Comments
 (0)