summaryrefslogtreecommitdiff
path: root/src/vm/jitinterface.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-01-19 20:02:00 (GMT)
committerJan Kotas <jkotas@microsoft.com>2019-01-19 20:02:00 (GMT)
commitd24a3ff0105ab5b9649b27451263e57e7ee6526b (patch)
tree1c5c5125863cfc1649ec5becd1b3fdcb53471380 /src/vm/jitinterface.cpp
parentdce086f9bbd047296942f615f20a4f9a1e3a8d26 (diff)
downloadcoreclr-d24a3ff0105ab5b9649b27451263e57e7ee6526b.zip
coreclr-d24a3ff0105ab5b9649b27451263e57e7ee6526b.tar.gz
coreclr-d24a3ff0105ab5b9649b27451263e57e7ee6526b.tar.bz2
Cleanup: Remove MethodDesc::GetLoaderAllocatorForCode (#22067)
This function was recently changed to just return the MethodDesc::GetLoaderAllocator. This is a cleanup that removes the function completely and replaces all of its usages.
Diffstat (limited to 'src/vm/jitinterface.cpp')
-rw-r--r--src/vm/jitinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp
index ef214f6..d05a040 100644
--- a/src/vm/jitinterface.cpp
+++ b/src/vm/jitinterface.cpp
@@ -5554,7 +5554,7 @@ void CEEInfo::getCallInfo(
// We shouldn't be using GetLoaderAllocator here because for LCG, we need to get the
// VirtualCallStubManager from where the stub will be used.
// For normal methods there is no difference.
- LoaderAllocator *pLoaderAllocator = m_pMethodBeingCompiled->GetLoaderAllocatorForCode();
+ LoaderAllocator *pLoaderAllocator = m_pMethodBeingCompiled->GetLoaderAllocator();
VirtualCallStubManager *pMgr = pLoaderAllocator->GetVirtualCallStubManager();
PCODE addr = pMgr->GetCallStub(exactType, pTargetMD);