Skip to content

Commit 2547533

Browse files
committed
Add four words to DefaultActor so that we have some room to grow.
96 bytes is a reasonable quantum for a naked actor, and a small actor with actual storage can store a few things without going past 128 bytes.
1 parent 78a317a commit 2547533

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/ABI/MetadataValues.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ enum {
4242

4343
/// The number of words in a yield-many coroutine buffer.
4444
NumWords_YieldManyBuffer = 8,
45+
46+
/// The number of words (in addition to the heap-object header)
47+
/// in a default actor.
48+
NumWords_DefaultActor = 10,
4549
};
4650

4751
struct InProcess;

0 commit comments

Comments
 (0)