Commit 89f688f
committed
DI: Track of initialization state of trivial fields in root class initializers
While we don't need to destroy these fields, we still need to know
when the class is _semantically_ fully initialized, since this will
determine if we're going to release the class, running the deinitializer,
or if we're going to deallocate the memory for the instance directly.1 parent caed4e8 commit 89f688f
File tree
2 files changed
+19
-2
lines changed- lib/SILOptimizer/Mandatory
2 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1075 | 1081 | | |
1076 | 1082 | | |
1077 | 1083 | | |
| |||
2276 | 2282 | | |
2277 | 2283 | | |
2278 | 2284 | | |
2279 | | - | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
2280 | 2292 | | |
2281 | 2293 | | |
2282 | 2294 | | |
| |||
0 commit comments