summaryrefslogtreecommitdiff
path: root/src/vm/jitinterface.cpp
diff options
context:
space:
mode:
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);