diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-04-18 19:57:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 19:57:17 -0700 |
commit | b7167889bc94c084527f184f852b867b2a1c1d56 (patch) | |
tree | 2e1a66620de41a35e72e0da27038121f6c0e3acf /src/vm/peimage.inl | |
parent | 4686029068df93a6a54ae27d3363ff62b1e5515b (diff) | |
download | coreclr-b7167889bc94c084527f184f852b867b2a1c1d56.tar.gz coreclr-b7167889bc94c084527f184f852b867b2a1c1d56.tar.bz2 coreclr-b7167889bc94c084527f184f852b867b2a1c1d56.zip |
Move R2R-specific code to be outside FEATURE_PREJIT (#24075)
This refactoring is preparation for disabling fragile NGen support in the runtime. It keeps fragile-NGen specific code under FEATURE_PREJIT and moves the code required to support R2R to be outside FEATURE_PREJIT.
The eventual goal is to compile the runtime without FEATURE_PREJIT defined to avoid fragile-NGen specific overhead.
Diffstat (limited to 'src/vm/peimage.inl')
-rw-r--r-- | src/vm/peimage.inl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vm/peimage.inl b/src/vm/peimage.inl index 156dae67d6..142012ea54 100644 --- a/src/vm/peimage.inl +++ b/src/vm/peimage.inl @@ -388,7 +388,6 @@ inline BOOL PEImage::IsIbcOptimized() #endif } -#ifdef FEATURE_PREJIT inline PTR_CVOID PEImage::GetNativeManifestMetadata(COUNT_T *pSize) { WRAPPER_NO_CONTRACT; @@ -400,7 +399,6 @@ inline PTR_CVOID PEImage::GetNativeManifestMetadata(COUNT_T *pSize) return pLayout->GetNativeManifestMetadata(pSize); } } -#endif inline PTR_CVOID PEImage::GetMetadata(COUNT_T *pSize) { @@ -532,8 +530,6 @@ inline PTR_PEImage PEImage::OpenImage(LPCWSTR pPath, MDInternalImportFlags flags #ifdef FEATURE_PREJIT if (flags & MDInternalImport_TrustedNativeImage) pImage->SetIsTrustedNativeImage(); - if (flags & MDInternalImport_NativeImageInstall) - pImage->SetIsNativeImageInstall(); #endif pImage->Init(pPath); |