File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,10 @@ struct Main {
23
23
}
24
24
_ = await x. value
25
25
}
26
- // There should be exactly 5 allocations involved:
26
+ // There should be exactly 4 allocations involved:
27
27
// - 2x 32 bytes ... closure context for swift_task_create, closure object to pass to Task.init
28
28
// - 1x 320 bytes ... malloc(amountToAllocate) in swift_task_create_common for the Task heap object itself
29
29
// - 1x 1016 bytes ... the initial StackAllocator slab in the task-specific allocator
30
- // - 1x 40 bytes ... task status record
31
30
// Check that they are all accounted for and free'd.
32
31
33
32
// CHECK: malloc({{[0-9]+}})-> [[M1:0x[0-9a-f]+]]
@@ -36,8 +35,6 @@ struct Main {
36
35
// CHECK: malloc({{[0-9]+}})-> [[M4:0x[0-9a-f]+]]
37
36
// CHECK: free([[M1]])
38
37
// CHECK: free([[M2]])
39
- // CHECK: malloc({{[0-9]+}})-> [[M5:0x[0-9a-f]+]]
40
- // CHECK: free([[M5]])
41
38
// CHECK: free([[M4]])
42
39
// CHECK: free([[M3]])
43
40
You can’t perform that action at this time.
0 commit comments