Commit b3c0d8a
committed
IRGen/ABI: fix count of requirements in getAddrOfGenericEnvironment
`irgen::addGenericRequirements` will later filter out Copyable
and Escapable requirements, so this field's count isn't accurate
if it's using the pre-filtered number.
This should in theory only affect the metadata emission for keypaths,
specifically, the caller `IRGenModule::getAddrOfKeyPathPattern`.
(cherry picked from commit 38af19b)1 parent c2070c0 commit b3c0d8a
2 files changed
+35
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4622 | 4622 | | |
4623 | 4623 | | |
4624 | 4624 | | |
| 4625 | + | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
4625 | 4629 | | |
4626 | 4630 | | |
4627 | | - | |
| 4631 | + | |
4628 | 4632 | | |
4629 | 4633 | | |
4630 | 4634 | | |
| |||
4651 | 4655 | | |
4652 | 4656 | | |
4653 | 4657 | | |
4654 | | - | |
| 4658 | + | |
4655 | 4659 | | |
4656 | 4660 | | |
4657 | 4661 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments