summaryrefslogtreecommitdiff
path: root/src/vm/compile.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/vm/compile.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/vm/compile.cpp')
-rw-r--r--src/vm/compile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/compile.cpp b/src/vm/compile.cpp
index b1c3f8cadb..52440523bd 100644
--- a/src/vm/compile.cpp
+++ b/src/vm/compile.cpp
@@ -68,6 +68,7 @@
#include "versionresilienthashcode.h"
#include "inlinetracking.h"
+#include "jithost.h"
#ifdef CROSSGEN_COMPILE
CompilationDomain * theDomain;
@@ -1112,6 +1113,11 @@ void CEECompileInfo::CompressDebugInfo(
CompressDebugInfo::CompressBoundariesAndVars(pOffsetMapping, iOffsetMapping, pNativeVarInfo, iNativeVarInfo, pDebugInfoBuffer, NULL);
}
+ICorJitHost* CEECompileInfo::GetJitHost()
+{
+ return JitHost::getJitHost();
+}
+
HRESULT CEECompileInfo::GetBaseJitFlags(
IN CORINFO_METHOD_HANDLE hMethod,
OUT CORJIT_FLAGS *pFlags)