summaryrefslogtreecommitdiff
path: root/src/vm/peimagelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/peimagelayout.cpp')
-rw-r--r--src/vm/peimagelayout.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vm/peimagelayout.cpp b/src/vm/peimagelayout.cpp
index e839e8ffb0..c965c61ff5 100644
--- a/src/vm/peimagelayout.cpp
+++ b/src/vm/peimagelayout.cpp
@@ -8,6 +8,7 @@
#include "common.h"
#include "peimagelayout.h"
#include "peimagelayout.inl"
+#include "dataimage.h"
#if defined(PLATFORM_WINDOWS) && !defined(CROSSGEN_COMPILE)
#include "amsi.h"
@@ -88,8 +89,6 @@ PEImageLayout* PEImageLayout::Map(HANDLE hFile, PEImage* pOwner)
RETURN pAlloc.Extract();
}
-#ifdef FEATURE_PREJIT
-
#ifdef FEATURE_PAL
DWORD SectionCharacteristicsToPageProtection(UINT characteristics)
{
@@ -293,7 +292,6 @@ void PEImageLayout::ApplyBaseRelocations()
ClrFlushInstructionCache(pFlushRegion, cbFlushRegion);
}
}
-#endif // FEATURE_PREJIT
RawImageLayout::RawImageLayout(const void *flat, COUNT_T size, PEImage* pOwner)