Skip to content

Commit fe5cc42

Browse files
committed
Use correct MethodTable
1 parent 6284cc2 commit fe5cc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/jitinterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8750,7 +8750,7 @@ bool CEEInfo::resolveVirtualMethodHelper(CORINFO_DEVIRTUALIZATION_INFO * info)
87508750

87518751
if (pDevirtMD->HasMethodInstantiation())
87528752
{
8753-
pDevirtMD = pDevirtMD->FindOrCreateAssociatedMethodDesc(pDevirtMD, pObjMT, false, pBaseMD->GetMethodInstantiation(), true);
8753+
pDevirtMD = pDevirtMD->FindOrCreateAssociatedMethodDesc(pDevirtMD, pDevirtMD->GetMethodTable(), false, pBaseMD->GetMethodInstantiation(), true);
87548754
}
87558755

87568756
// Determine the exact class.

0 commit comments

Comments
 (0)