Emit leaner cctor context for preinitialized types (#83065)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Tue, 7 Mar 2023 06:59:49 +0000 (15:59 +0900)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2023 06:59:49 +0000 (15:59 +0900)
commit4bbfc121a3d32e843a4bb364842e92bd81544b06
treea32587c3020389e18caed2691fe4fdf715322db8
parentb526b6561b6c671014b326f222adae28d67c9fa3
Emit leaner cctor context for preinitialized types (#83065)

If a type is preinitialized, we shouldn't need the cctor pointer anymore. This was the only thing keeping around general-purpose comparers logic after @EgorBo's #83054.
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/NonGCStaticsNode.cs