Commit 8ec531d
authored
MethodEntrypointOrTentativeMethod should tolerate same entrypoints for different MethodDescs (#121703)
Ran into this as I was trying something with #121456. That PR introduces
a situation where two MethodDescs could map to the same EntryPoint. We
didn't previously have that since MethodEntrypointOrTentativeMethod
doesn't support unboxing thunks (that do a similar trick).
Without this fix we would end up with two `TentativeInstanceMethodNode`
that point to the same EntryPoint and that doesn't lead to anything
good. These need to be 1:1 with entrypoints.
Cc @dotnet/ilc-contrib1 parent 23a83bc commit 8ec531d
File tree
1 file changed
+4
-4
lines changed- src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
1106 | 1106 | | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | | - | |
| 1109 | + | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | 1115 | | |
1116 | | - | |
| 1116 | + | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | 1119 | | |
| |||
0 commit comments