Commit 9ee881a
authored
[release/9.0-staging] [mono][aot] Fix compilation crashes when type load exception is generated in code (#110271)
* [mono][aot] Fix stack state when emitting type load throw
Method compilation was continuing and we ended up failing with invalid IL.
* [mono][aot] Mark clauses as dead when replacing method code with exception throw
In the final stages of method compilation, when trying to compute clause ranges, we were asserting because the clause bblocks haven't been reached for compilation.1 parent 5e05023 commit 9ee881a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6263 | 6263 | | |
6264 | 6264 | | |
6265 | 6265 | | |
| 6266 | + | |
| 6267 | + | |
| 6268 | + | |
6266 | 6269 | | |
6267 | 6270 | | |
6268 | 6271 | | |
| |||
12112 | 12115 | | |
12113 | 12116 | | |
12114 | 12117 | | |
| 12118 | + | |
12115 | 12119 | | |
12116 | 12120 | | |
12117 | 12121 | | |
12118 | 12122 | | |
12119 | 12123 | | |
12120 | | - | |
12121 | | - | |
12122 | 12124 | | |
12123 | 12125 | | |
12124 | 12126 | | |
| |||
0 commit comments