diff options
Diffstat (limited to 'src/vm/eeconfig.cpp')
-rw-r--r-- | src/vm/eeconfig.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/vm/eeconfig.cpp b/src/vm/eeconfig.cpp index 812d1df671..81f3957951 100644 --- a/src/vm/eeconfig.cpp +++ b/src/vm/eeconfig.cpp @@ -327,10 +327,6 @@ HRESULT EEConfig::Init() iRequireZaps = REQUIRE_ZAPS_NONE; -#ifdef _TARGET_AMD64_ - pDisableNativeImageLoadList = NULL; -#endif - // new loader behavior switches m_fDeveloperInstallation = false; @@ -489,11 +485,6 @@ HRESULT EEConfig::Cleanup() delete pForbidZapsExcludeList; #endif -#ifdef _TARGET_AMD64_ - if (pDisableNativeImageLoadList) - delete pDisableNativeImageLoadList; -#endif - #ifdef FEATURE_COMINTEROP if (pszLogCCWRefCountChange) delete [] pszLogCCWRefCountChange; @@ -996,16 +987,6 @@ HRESULT EEConfig::sync() } #endif -#ifdef _TARGET_AMD64_ - if (!IsCompilationProcess()) - { - NewArrayHolder<WCHAR> wszDisableNativeImageLoadList; - IfFailRet(CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_DisableNativeImageLoadList, &wszDisableNativeImageLoadList)); - if (wszDisableNativeImageLoadList) - pDisableNativeImageLoadList = new AssemblyNamesList(wszDisableNativeImageLoadList); - } -#endif - #ifdef FEATURE_LOADER_OPTIMIZATION dwSharePolicy = GetConfigDWORD_DontUse_(CLRConfig::EXTERNAL_LoaderOptimization, dwSharePolicy); #endif @@ -1455,18 +1436,6 @@ bool EEConfig::ExcludeReadyToRun(LPCUTF8 assemblyName) const return false; } -#ifdef _TARGET_AMD64_ -bool EEConfig::DisableNativeImageLoad(LPCUTF8 assemblyName) const -{ - LIMITED_METHOD_CONTRACT; - - if (pDisableNativeImageLoadList != NULL && pDisableNativeImageLoadList->IsInList(assemblyName)) - return true; - - return false; -} -#endif - /**************************************************************/ #ifdef _DEBUG /**************************************************************/ |