summaryrefslogtreecommitdiff
path: root/src/zap
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-01-23 22:13:01 +0100
committerJan Kotas <jkotas@microsoft.com>2019-01-23 13:13:01 -0800
commita28b25aacdcd2adb0fdfa70bd869f53ba6565976 (patch)
treed37eeacbb212a5633edabf93300dbcd18980f13f /src/zap
parent797888982e264e2ecfbc436f782f2f6704644e84 (diff)
downloadcoreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.tar.gz
coreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.tar.bz2
coreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.zip
Remove all traces of FEATURE_STACK_PROBE. (#22149)
Diffstat (limited to 'src/zap')
-rw-r--r--src/zap/zapimage.cpp7
-rw-r--r--src/zap/zapinfo.cpp4
-rw-r--r--src/zap/zapper.cpp1
3 files changed, 0 insertions, 12 deletions
diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp
index 3fa607333d..d5d48ae2d6 100644
--- a/src/zap/zapimage.cpp
+++ b/src/zap/zapimage.cpp
@@ -2128,13 +2128,6 @@ ZapImage::CompileStatus ZapImage::TryCompileMethodWorker(CORINFO_METHOD_HANDLE h
CompileStatus result = NOT_COMPILED;
- // This is an entry point into the JIT which can call back into the VM. There are methods in the
- // JIT that will swallow exceptions and only the VM guarentees that exceptions caught or swallowed
- // with restore the debug state of the stack guards. So it is necessary to ensure that the status
- // is restored on return from the call into the JIT, which this light-weight transition macro
- // will do.
- REMOVE_STACK_GUARD;
-
CORINFO_MODULE_HANDLE module;
// We only compile IL_STUBs from the current assembly
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp
index 829e5b0598..9845caed6a 100644
--- a/src/zap/zapinfo.cpp
+++ b/src/zap/zapinfo.cpp
@@ -475,8 +475,6 @@ void ZapInfo::CompileMethod()
#ifdef ALLOW_SXS_JIT_NGEN
if (m_zapper->m_alternateJit)
{
- REMOVE_STACK_GUARD;
-
res = m_zapper->m_alternateJit->compileMethod( this,
&m_currentMethodInfo,
CORJIT_FLAGS::CORJIT_FLAG_CALL_GETJITFLAGS,
@@ -492,8 +490,6 @@ void ZapInfo::CompileMethod()
if (FAILED(res))
{
- REMOVE_STACK_GUARD;
-
ICorJitCompiler * pCompiler = m_zapper->m_pJitCompiler;
res = pCompiler->compileMethod(this,
&m_currentMethodInfo,
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp
index f4ddb92011..244c00d30b 100644
--- a/src/zap/zapper.cpp
+++ b/src/zap/zapper.cpp
@@ -845,7 +845,6 @@ BOOL Zapper::IsAssembly(LPCWSTR path)
BEGIN_ENTRYPOINT_NOTHROW;
EX_TRY
{
- REMOVE_STACK_GUARD;
((DomainCallback *) pvArgs)->doCallback();
}
EX_CATCH_HRESULT(hr);