Skip to content

Commit d1747a7

Browse files
authoredApr 9, 2024··
Remove _ASSERTE(!m_pMethodBeingCompiled->IsDynamicMethod()); (#100797)
1 parent 404b286 commit d1747a7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎src/coreclr/vm/jitinterface.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -5405,12 +5405,8 @@ void CEEInfo::getCallInfo(
54055405
// (c) constraint calls that require runtime context lookup are never resolved
54065406
// to underlying shared generic code
54075407

5408-
bool unresolvedLdVirtFtn = (flags & CORINFO_CALLINFO_LDFTN) && (flags & CORINFO_CALLINFO_CALLVIRT) && !resolvedCallVirt;
5409-
54105408
if (((pResult->exactContextNeedsRuntimeLookup && pTargetMD->IsInstantiatingStub() && (!allowInstParam || fResolvedConstraint)) || fForceUseRuntimeLookup))
54115409
{
5412-
_ASSERTE(!m_pMethodBeingCompiled->IsDynamicMethod());
5413-
54145410
pResult->kind = CORINFO_CALL_CODE_POINTER;
54155411

54165412
DictionaryEntryKind entryKind;
@@ -5477,8 +5473,6 @@ void CEEInfo::getCallInfo(
54775473

54785474
if (pResult->exactContextNeedsRuntimeLookup)
54795475
{
5480-
_ASSERTE(!m_pMethodBeingCompiled->IsDynamicMethod());
5481-
54825476
ComputeRuntimeLookupForSharedGenericToken(fIsStaticVirtualMethod ? ConstrainedMethodEntrySlot : DispatchStubAddrSlot,
54835477
pResolvedToken,
54845478
pConstrainedResolvedToken,

0 commit comments

Comments
 (0)
Please sign in to comment.