File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -4580,17 +4580,13 @@ TypeCompareState CEEInfo::isNullableType(CORINFO_CLASS_HANDLE cls)
4580
4580
MODE_PREEMPTIVE;
4581
4581
} CONTRACTL_END;
4582
4582
4583
- TypeCompareState result = TypeCompareState::May ;
4583
+ TypeCompareState result;
4584
4584
4585
4585
JIT_TO_EE_TRANSITION_LEAF();
4586
4586
4587
- TypeHandle typeHandle = TypeHandle( );
4587
+ TypeHandle typeHandle(cls );
4588
4588
4589
- if (typeHandle != TypeHandle(g_pCanonMethodTableClass))
4590
- {
4591
- TypeHandle VMClsHnd(cls);
4592
- result = Nullable::IsNullableType(VMClsHnd) ? TypeCompareState::Must : TypeCompareState::MustNot;
4593
- }
4589
+ result = Nullable::IsNullableType(typeHandle) ? TypeCompareState::Must : TypeCompareState::MustNot;
4594
4590
4595
4591
EE_TO_JIT_TRANSITION_LEAF();
4596
4592
return result;
You can’t perform that action at this time.
0 commit comments