Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/coreclr/vm/methodtable.inl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ FORCEINLINE PTR_EEClass MethodTable::GetClassWithPossibleAV()
{
// pointer to canonical MethodTable.
TADDR canonicalMethodTable = union_getPointer(addr);
// a canonical method table always points at its EEClass, and m_pEEClass has no mask bit, so just return it
return PTR_MethodTable(canonicalMethodTable)->m_pEEClass;
return PTR_EEClass(PTR_MethodTable(canonicalMethodTable)->m_pCanonMT);
}
}

Expand Down