Commit b22e8e6
committed
[SIL] InitAccessors: Add tracking of properties that require assign instead of initialization
Some properties from `initializes(...)` list could be already initialized,
which means that Raw SIL lowering has to emit `destroy_addr` for them
before calling init accessor.1 parent 0e61a75 commit b22e8e6
File tree
3 files changed
+52
-10
lines changed- include/swift
- AST
- SIL
- lib/SIL/IR
3 files changed
+52
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1568 | 1568 | | |
1569 | 1569 | | |
1570 | 1570 | | |
| 1571 | + | |
| 1572 | + | |
1571 | 1573 | | |
1572 | 1574 | | |
1573 | 1575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4951 | 4951 | | |
4952 | 4952 | | |
4953 | 4953 | | |
| 4954 | + | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
4954 | 4959 | | |
4955 | 4960 | | |
4956 | 4961 | | |
| |||
4981 | 4986 | | |
4982 | 4987 | | |
4983 | 4988 | | |
| 4989 | + | |
| 4990 | + | |
| 4991 | + | |
| 4992 | + | |
| 4993 | + | |
| 4994 | + | |
| 4995 | + | |
| 4996 | + | |
| 4997 | + | |
| 4998 | + | |
| 4999 | + | |
4984 | 5000 | | |
4985 | 5001 | | |
4986 | 5002 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1263 | 1263 | | |
1264 | 1264 | | |
1265 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1266 | 1282 | | |
1267 | 1283 | | |
1268 | 1284 | | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
1273 | 1297 | | |
1274 | 1298 | | |
1275 | 1299 | | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1279 | 1303 | | |
1280 | 1304 | | |
1281 | 1305 | | |
1282 | 1306 | | |
1283 | 1307 | | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1287 | 1311 | | |
1288 | 1312 | | |
1289 | 1313 | | |
| |||
0 commit comments