Disable use of fast dictionary slots for R2R images when tiered JITing is enabled.
Fixes dotnet/coreclr#22400
Commit migrated from https://github.com/dotnet/coreclr/commit/
bae641f469bebb39b6043071fa55e1fa032bd355
}
CONTRACTL_END
+#ifndef FEATURE_NATIVE_IMAGE_GENERATION
+ // If the tiered compilation is on, save the fast dictionary slots for the hot Tier1 code
+ if (g_pConfig->TieredCompilation() && signatureSource == FromReadyToRunImage)
+ {
+ pResult->signature = pSig;
+ return FALSE;
+ }
+#endif
+
BOOL isFirstBucket = TRUE;
// First bucket also contains type parameters