Commit 76881b1
committed
[CoroutineAccessors] Add frame de/alloc functions.
To enable ABIs which store extra info in the frame, add two new slots to
the coroutine allocator function table. For example, a frame could have
a header containing a context pointer at a negative offset from the
address returned from `swift_coro_alloc_frame`. The frame deallocation
function would then know to deallocate more space correspondingly.1 parent a2a4d22 commit 76881b1
File tree
15 files changed
+237
-66
lines changed- include/swift
- ABI
- AST
- lib/IRGen
- test/IRGen
15 files changed
+237
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1797 | 1797 | | |
1798 | 1798 | | |
1799 | 1799 | | |
| 1800 | + | |
| 1801 | + | |
1800 | 1802 | | |
1801 | 1803 | | |
1802 | 1804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5178 | 5178 | | |
5179 | 5179 | | |
5180 | 5180 | | |
| 5181 | + | |
| 5182 | + | |
5181 | 5183 | | |
5182 | 5184 | | |
5183 | 5185 | | |
5184 | | - | |
| 5186 | + | |
5185 | 5187 | | |
5186 | 5188 | | |
5187 | 5189 | | |
| |||
5267 | 5269 | | |
5268 | 5270 | | |
5269 | 5271 | | |
5270 | | - | |
5271 | | - | |
5272 | | - | |
| 5272 | + | |
| 5273 | + | |
| 5274 | + | |
| 5275 | + | |
5273 | 5276 | | |
5274 | 5277 | | |
5275 | 5278 | | |
5276 | 5279 | | |
5277 | 5280 | | |
5278 | 5281 | | |
5279 | 5282 | | |
5280 | | - | |
| 5283 | + | |
| 5284 | + | |
5281 | 5285 | | |
5282 | 5286 | | |
5283 | 5287 | | |
| |||
0 commit comments