Commit b8976a3
committed
[SIL] Add flag to SILFunctionType::Profile for async.
Previously, the flag was omitted, causing function types which were
otherwise the same to have the same id, leading to caching woes.
Here, the issue is fixed by adding the boolean flag to the id, ensuring
that types which differ only in that flag are still understood to be
different.1 parent e2a1862 commit b8976a3
File tree
3 files changed
+22
-4
lines changed- include/swift/AST
- lib/AST
- test/SIL/Parser
3 files changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4577 | 4577 | | |
4578 | 4578 | | |
4579 | 4579 | | |
4580 | | - | |
| 4580 | + | |
4581 | 4581 | | |
4582 | 4582 | | |
4583 | 4583 | | |
4584 | 4584 | | |
4585 | 4585 | | |
4586 | 4586 | | |
4587 | | - | |
| 4587 | + | |
4588 | 4588 | | |
4589 | 4589 | | |
4590 | 4590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3245 | 3245 | | |
3246 | 3246 | | |
3247 | 3247 | | |
| 3248 | + | |
3248 | 3249 | | |
3249 | 3250 | | |
3250 | 3251 | | |
| |||
3258 | 3259 | | |
3259 | 3260 | | |
3260 | 3261 | | |
| 3262 | + | |
3261 | 3263 | | |
3262 | 3264 | | |
3263 | 3265 | | |
| |||
3471 | 3473 | | |
3472 | 3474 | | |
3473 | 3475 | | |
3474 | | - | |
3475 | | - | |
| 3476 | + | |
| 3477 | + | |
3476 | 3478 | | |
3477 | 3479 | | |
3478 | 3480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
0 commit comments