summaryrefslogtreecommitdiff
path: root/src/vm/peimage.inl
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-08-14 06:34:34 -0700
committerGitHub <noreply@github.com>2018-08-14 06:34:34 -0700
commit0b5e0648bdaa1abacea803b90384f9b937af9fc3 (patch)
tree27c73836e0325589d38e6ce5dcd5c206c4d5e04f /src/vm/peimage.inl
parent66b3197f69cf4669ba04a7a8121d33d9aa5d3c9d (diff)
downloadcoreclr-0b5e0648bdaa1abacea803b90384f9b937af9fc3.tar.gz
coreclr-0b5e0648bdaa1abacea803b90384f9b937af9fc3.tar.bz2
coreclr-0b5e0648bdaa1abacea803b90384f9b937af9fc3.zip
Delete dead code (#19452)
Unused strong name signing paths and related code
Diffstat (limited to 'src/vm/peimage.inl')
-rw-r--r--src/vm/peimage.inl43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/vm/peimage.inl b/src/vm/peimage.inl
index 0e7410734e..57f5400855 100644
--- a/src/vm/peimage.inl
+++ b/src/vm/peimage.inl
@@ -223,21 +223,6 @@ inline BOOL PEImage::PassiveDomainOnly()
return m_bPassiveDomainOnly;
}
-#ifdef FEATURE_PREJIT
-
-inline const BOOL PEImage::GetNativeILHasSecurityDirectory()
-{
- WRAPPER_NO_CONTRACT;
- if (HasLoadedLayout())
- return GetLoadedLayout()->GetNativeILHasSecurityDirectory();
- else
- {
- PEImageLayoutHolder pLayout(GetLayout(PEImageLayout::LAYOUT_ANY,LAYOUT_CREATEIFNEEDED));
- return pLayout->GetNativeILHasSecurityDirectory();
- }
-}
-#endif
-
inline const BOOL PEImage::HasDirectoryEntry(int entry)
{
WRAPPER_NO_CONTRACT;
@@ -389,18 +374,6 @@ inline const BOOL PEImage::HasStrongNameSignature()
#endif // !DACCESS_COMPILE
-inline BOOL PEImage::IsStrongNameSigned()
-{
- WRAPPER_NO_CONTRACT;
- if (HasLoadedLayout())
- return GetLoadedLayout()->IsStrongNameSigned();
- else
- {
- PEImageLayoutHolder pLayout(GetLayout(PEImageLayout::LAYOUT_ANY,LAYOUT_CREATEIFNEEDED));
- return pLayout->IsStrongNameSigned();
- }
-}
-
inline BOOL PEImage::IsIbcOptimized()
{
WRAPPER_NO_CONTRACT;
@@ -413,22 +386,6 @@ inline BOOL PEImage::IsIbcOptimized()
}
}
-#ifndef DACCESS_COMPILE
-
-inline void PEImage::GetImageBits(DWORD layout, SBuffer &result)
-{
- WRAPPER_NO_CONTRACT;
- PEImageLayoutHolder pLayout(GetLayout(layout,LAYOUT_CREATEIFNEEDED));
- BYTE* buffer=result.OpenRawBuffer(pLayout->GetSize());
- PREFIX_ASSUME(buffer != NULL);
- memcpyNoGCRefs(buffer,pLayout->GetBase(),pLayout->GetSize());
- result.CloseRawBuffer(pLayout->GetSize());
-}
-
-#endif
-
-
-
#ifdef FEATURE_PREJIT
inline PTR_CVOID PEImage::GetNativeManifestMetadata(COUNT_T *pSize)
{