Commit 8a4fe78
committed
Commit cache to stable on error
This is important because we don't revert the heap on error.
Therefore, the stable cache has to be updated. Otherwise, a
warm object might be initialized twice, violating invariants.1 parent 2849052 commit 8a4fe78
File tree
1 file changed
+10
-14
lines changed- compiler/src/dotty/tools/dotc/transform/init
1 file changed
+10
-14
lines changedLines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | | - | |
319 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
320 | 327 | | |
321 | 328 | | |
322 | 329 | | |
323 | | - | |
324 | 330 | | |
325 | 331 | | |
326 | | - | |
327 | | - | |
328 | 332 | | |
329 | 333 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 334 | | |
339 | | - | |
340 | 335 | | |
341 | 336 | | |
342 | 337 | | |
| |||
846 | 841 | | |
847 | 842 | | |
848 | 843 | | |
| 844 | + | |
849 | 845 | | |
850 | 846 | | |
851 | 847 | | |
| |||
0 commit comments