diff options
Diffstat (limited to 'src/vm/dwbucketmanager.hpp')
-rw-r--r-- | src/vm/dwbucketmanager.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/dwbucketmanager.hpp b/src/vm/dwbucketmanager.hpp index 0095eb6a1c..9b0d7b12e1 100644 --- a/src/vm/dwbucketmanager.hpp +++ b/src/vm/dwbucketmanager.hpp @@ -982,6 +982,7 @@ bool BaseBucketParamsManager::GetFileVersionInfoForModule(Module* pModule, USHOR PEFile* pFile = pModule->GetFile(); if (pFile) { +#ifdef FEATURE_PREJIT // if we have a native imaged loaded for this module then get the version information from that. if (pFile->IsNativeLoaded()) { @@ -996,6 +997,7 @@ bool BaseBucketParamsManager::GetFileVersionInfoForModule(Module* pModule, USHOR } } } +#endif // if we failed to get the version info from the native image then fall back to the IL image. if (!succeeded) |