Commit 01d470c
committed
Simplify lifetime extension for async ObjC calls.
Since the clean-up is not unwind only, we can rely on the
clean-ups to be emitted on both result and throw paths.
This does slightly change when the hop_to_executor is emitted,
in those paths, but that shouldn't matter.
refactors solution for rdar://789823711 parent fa9889d commit 01d470c
File tree
4 files changed
+15
-22
lines changed- lib/SILGen
- test/SILGen
4 files changed
+15
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4573 | 4573 | | |
4574 | 4574 | | |
4575 | 4575 | | |
4576 | | - | |
| 4576 | + | |
4577 | 4577 | | |
4578 | 4578 | | |
4579 | 4579 | | |
| |||
4660 | 4660 | | |
4661 | 4661 | | |
4662 | 4662 | | |
4663 | | - | |
4664 | | - | |
4665 | | - | |
4666 | | - | |
4667 | | - | |
4668 | | - | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
4669 | 4671 | | |
4670 | 4672 | | |
4671 | 4673 | | |
4672 | 4674 | | |
4673 | 4675 | | |
4674 | 4676 | | |
4675 | 4677 | | |
4676 | | - | |
4677 | | - | |
4678 | 4678 | | |
4679 | | - | |
4680 | | - | |
4681 | | - | |
4682 | | - | |
4683 | | - | |
4684 | | - | |
4685 | | - | |
4686 | 4679 | | |
4687 | 4680 | | |
4688 | 4681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
0 commit comments