Commit 1e21b13
authored
[mono][mini] Disable inlining if we encounter class initialization failure (#111754)
method_make_alwaysthrow_typeloadfailure replaces the entire method code with a throw of type load exception. This behaviour not only seem dubious, if it is triggered from inlining a method, that might never even get called, but it also does changes to the set of basic blocks that can lead to crashes later on during compilation.1 parent 99b373a commit 1e21b13
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10142 | 10142 | | |
10143 | 10143 | | |
10144 | 10144 | | |
| 10145 | + | |
| 10146 | + | |
10145 | 10147 | | |
10146 | 10148 | | |
10147 | 10149 | | |
| |||
0 commit comments