diff options
-rw-r--r-- | src/vm/genericdict.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vm/genericdict.cpp b/src/vm/genericdict.cpp index 90af6395d7..22453c71ef 100644 --- a/src/vm/genericdict.cpp +++ b/src/vm/genericdict.cpp @@ -132,6 +132,15 @@ DictionaryLayout::FindTokenWorker(LoaderAllocator * pAllocator, } 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 |