Skip to content

Commit 03bb47e

Browse files
committed
[embedded] Move _swiftEmptyArrayStorage into the stdlib
1 parent e947d5f commit 03bb47e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/core/ContiguousArrayBuffer.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ internal final class __EmptyArrayStorage
6363
}
6464
}
6565

66+
#if $Embedded
67+
public var _swiftEmptyArrayStorage: (Int, Int, Int, Int) =
68+
(/*isa*/0, /*refcount*/-1, /*count*/0, /*flags*/1)
69+
#endif
70+
6671
/// The empty array prototype. We use the same object for all empty
6772
/// `[Native]Array<Element>`s.
6873
@inlinable

0 commit comments

Comments
 (0)