Skip to content

Commit

Permalink
Remove unneeded cast
Browse files Browse the repository at this point in the history
  • Loading branch information
nattress committed Apr 20, 2020
1 parent 35bf836 commit 08eae55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ private uint getClassSize(CORINFO_CLASS_STRUCT_* cls)
if (NeedsTypeLayoutCheck(type))
{
ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type);
((MethodWithGCInfo)_methodCodeNode).Fixups.Add(node);
_methodCodeNode.Fixups.Add(node);
}
#endif
return (uint)classSize.AsInt;
Expand Down

0 comments on commit 08eae55

Please sign in to comment.