summaryrefslogtreecommitdiff
path: root/src/zap/zapper.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-07-17 12:11:33 -0700
committerGitHub <noreply@github.com>2018-07-17 12:11:33 -0700
commiteaf111b08dce413738f9133748e302248359c5e9 (patch)
treefda6fb83f6c080590e30a4f6108e8344744a27b3 /src/zap/zapper.cpp
parent83ee28ed75a94e6fd4e1c81c27fc9acf947d92a3 (diff)
downloadcoreclr-eaf111b08dce413738f9133748e302248359c5e9.tar.gz
coreclr-eaf111b08dce413738f9133748e302248359c5e9.tar.bz2
coreclr-eaf111b08dce413738f9133748e302248359c5e9.zip
Add pooling for JIT scratch memory (#18924)
Fixes #3408
Diffstat (limited to 'src/zap/zapper.cpp')
-rw-r--r--src/zap/zapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp
index 683805eacf..090b545826 100644
--- a/src/zap/zapper.cpp
+++ b/src/zap/zapper.cpp
@@ -525,7 +525,7 @@ void Zapper::LoadAndInitializeJITForNgen(LPCWSTR pwzJitName, OUT HINSTANCE* phJi
pJitStartup jitStartupFn = (pJitStartup)GetProcAddress(*phJit, "jitStartup");
if (jitStartupFn != nullptr)
{
- jitStartupFn(JitHost::getJitHost());
+ jitStartupFn(m_pEECompileInfo->GetJitHost());
}
//get the appropriate compiler interface
@@ -599,7 +599,7 @@ void Zapper::InitEE(BOOL fForceDebug, BOOL fForceProfile, BOOL fForceInstrument)
//
#ifdef FEATURE_MERGE_JIT_AND_ENGINE
- jitStartup(JitHost::getJitHost());
+ jitStartup(m_pEECompileInfo->GetJitHost());
m_pJitCompiler = getJit();
if (m_pJitCompiler == NULL)