Commit 1c64a98
committed
fix: set finalized only after finalize completes successfully
Move `self.finalized = true` to the end of `finalize()` so an error or panic during IR dump, verification, or optimization leaves the compiler retryable instead of stuck in a finalized state.1 parent b70076a commit 1c64a98
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
599 | 598 | | |
600 | 599 | | |
601 | 600 | | |
| |||
642 | 641 | | |
643 | 642 | | |
644 | 643 | | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
0 commit comments