Remove redundant call to ConvertToCanonForm (#88171)
authorMarc Brooks <IDisposable@gmail.com>
Thu, 29 Jun 2023 06:03:30 +0000 (01:03 -0500)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 06:03:30 +0000 (23:03 -0700)
commiteccca2f42d3fa54a469e1061c7c3636a374fc083
tree2ddffddc188ec969a91f51c86dc6580840fa46f8
parent8899ed4d851e8a56938c6a7fb4f38e0b81d83f13
Remove redundant call to ConvertToCanonForm (#88171)

Call to `type.ConvertToCanonForm(CanonicalFormKind.Specific)` is redundant as we just computed the `canonType` two lines up. Reuse the computed value

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ReflectionInvokeMapNode.cs