Skip to content

Commit c496662

Browse files
committed
Temporary: Verify test coverage
1 parent a5c9613 commit c496662

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/vm/frames.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,10 +1730,12 @@ void CLRToCOMMethodFrame::GcScanRoots_Impl(promote_func* fn, ScanContext* sc)
17301730
ReturnKind returnKind = methodDesc->GetReturnKind();
17311731
if (returnKind == RT_Object)
17321732
{
1733+
_ASSERTE(!"RT_Object");
17331734
(*fn)(GetReturnObjectPtr(), sc, CHECK_APP_DOMAIN);
17341735
}
17351736
else if (returnKind == RT_ByRef)
17361737
{
1738+
_ASSERTE(!"RT_ByRef");
17371739
PromoteCarefully(fn, GetReturnObjectPtr(), sc, GC_CALL_INTERIOR | CHECK_APP_DOMAIN);
17381740
}
17391741
else

0 commit comments

Comments
 (0)