Skip to content

Commit 24e7ab4

Browse files
committed
Fix copy&paste bug in ReadyToRun_TypeGenericInfoMap::HasConstraints
Fixes #96336
1 parent b4ba5da commit 24e7ab4

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/coreclr/vm/readytoruninfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ bool ReadyToRun_TypeGenericInfoMap::HasVariance(mdTypeDef input, bool *foundResu
19451945
bool ReadyToRun_TypeGenericInfoMap::HasConstraints(mdTypeDef input, bool *foundResult) const
19461946
{
19471947
ReadyToRunTypeGenericInfo typeGenericInfo = GetTypeGenericInfo(input, foundResult);
1948-
return !!((uint8_t)typeGenericInfo & (uint8_t)ReadyToRunTypeGenericInfo::HasVariance);
1948+
return !!((uint8_t)typeGenericInfo & (uint8_t)ReadyToRunTypeGenericInfo::HasConstraints);
19491949
}
19501950

19511951
bool ReadyToRun_MethodIsGenericMap::IsGeneric(mdMethodDef input, bool *foundResult) const

src/tests/issues.targets

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -657,12 +657,6 @@
657657
<ExcludeList Include="$(XunitTestBinBase)/Interop/IJW/FixupCallsHostWhenLoaded/FixupCallsHostWhenLoaded/*">
658658
<Issue>https://github.com/dotnet/runtime/issues/38096</Issue>
659659
</ExcludeList>
660-
<ExcludeList Include="$(XunitTestBinBase)/JIT/Intrinsics/TypeIntrinsics_r/*">
661-
<Issue>https://github.com/dotnet/runtime/issues/96336</Issue>
662-
</ExcludeList>
663-
<ExcludeList Include="$(XunitTestBinBase)/JIT/Intrinsics/TypeIntrinsics_ro/*">
664-
<Issue>https://github.com/dotnet/runtime/issues/96336</Issue>
665-
</ExcludeList>
666660
<ExcludeList Include="$(XunitTestBinBase)/JIT/superpmi/superpmicollect/*">
667661
<Issue>Not compatible with crossgen2</Issue>
668662
</ExcludeList>

0 commit comments

Comments
 (0)