Commit a9e6efb
committed
[TBDGen] Use default kind for AFPAST SILDeclRef.
When adding an AsyncFunctionPointer to the TBD, a LinkEntity of kind
AsyncFunctionPointerAST is constructed containing the decl. That decl
is then wrapped in a SILDeclRef which is then mangled.
Previously, the kind of the SILDeclRef was erroneously forced to be
Func. The result was a failure to mangle the TBD symbol for async
constructors correctly.
Here, that argument is omitted so that the kind can be determined
appropriately by SILDeclRef's constructor.
rdar://804858691 parent 910d918 commit a9e6efb
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
| 471 | + | |
474 | 472 | | |
475 | 473 | | |
476 | 474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments