Commit 7c00b17
authored
Optimize MethodTable on both sides of
Optimizes `typeof(Foo) == typeof(Bar)` for both sides. This is necessary to get `System.Double` MethodTable from hello world again.
I tried to write a test for this but I wasn't able to come up with something in 10 minutes so I gave up. It seems to require interactions of several things to actually trigger the size bloat without this extra optimization. But this does fix the `Double` case.== (#87238)1 parent 157996f commit 7c00b17
File tree
1 file changed
+20
-0
lines changed- src/coreclr/tools/aot/ILCompiler.Compiler/IL
1 file changed
+20
-0
lines changedLines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
932 | 941 | | |
933 | 942 | | |
934 | 943 | | |
935 | 944 | | |
936 | 945 | | |
937 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
938 | 958 | | |
939 | 959 | | |
940 | 960 | | |
| |||
0 commit comments