summaryrefslogtreecommitdiff
path: root/src/vm/fptrstubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/fptrstubs.cpp')
-rw-r--r--src/vm/fptrstubs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/fptrstubs.cpp b/src/vm/fptrstubs.cpp
index 1e326c4..79660ec 100644
--- a/src/vm/fptrstubs.cpp
+++ b/src/vm/fptrstubs.cpp
@@ -123,7 +123,7 @@ PCODE FuncPtrStubs::GetFuncPtrStub(MethodDesc * pMD, PrecodeType type)
//
{
AllocMemTracker amt;
- Precode* pNewPrecode = Precode::Allocate(type, pMD, pMD->GetLoaderAllocatorForCode(), &amt);
+ Precode* pNewPrecode = Precode::Allocate(type, pMD, pMD->GetLoaderAllocator(), &amt);
if (target != NULL)
{