summaryrefslogtreecommitdiff
path: root/src/vm/virtualcallstub.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-11-29 02:18:04 (GMT)
committerGitHub <noreply@github.com>2018-11-29 02:18:04 (GMT)
commitb6d47b3a1b5b05c25968701615707e381f35a7ce (patch)
tree33056aabf9b36b2fbfd7d91218bd0a6fa3ff2cf3 /src/vm/virtualcallstub.cpp
parente7ead79fedc52e17f2cf9befd5c0f5091d70f909 (diff)
downloadcoreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.zip
coreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.tar.gz
coreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.tar.bz2
Delete code related to LoaderOptimization and SharedDomain (#21031)
Diffstat (limited to 'src/vm/virtualcallstub.cpp')
-rw-r--r--src/vm/virtualcallstub.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/vm/virtualcallstub.cpp b/src/vm/virtualcallstub.cpp
index c6fa852..ef11c6e 100644
--- a/src/vm/virtualcallstub.cpp
+++ b/src/vm/virtualcallstub.cpp
@@ -1050,18 +1050,6 @@ VirtualCallStubManager *VirtualCallStubManager::FindStubManager(PCODE stubAddres
}
//
- // See if we are managed by the shared domain
- //
- pCur = SharedDomain::GetDomain()->GetLoaderAllocator()->GetVirtualCallStubManager();
- kind = pCur->getStubKind(stubAddress, usePredictStubKind);
- if (kind != SK_UNKNOWN)
- {
- if (wbStubKind)
- *wbStubKind = kind;
- return pCur;
- }
-
- //
// See if we are managed by a collectible loader allocator
//
if (pDomain->GetCollectibleVSDRanges()->IsInRange(stubAddress, reinterpret_cast<TADDR *>(&pCur)))
@@ -4000,16 +3988,6 @@ VirtualCallStubManager *VirtualCallStubManagerManager::FindVirtualCallStubManage
return pMgr;
}
}
- // Check the shared domain
- {
- BaseDomain *pDom = SharedDomain::GetDomain();
- VirtualCallStubManager *pMgr = pDom->GetLoaderAllocator()->GetVirtualCallStubManager();
- if (pMgr->CheckIsStub_Internal(stubAddress))
- {
- m_pCacheElem = pMgr;
- return pMgr;
- }
- }
}
}
#endif