diff options
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/zapimage.cpp | 7 | ||||
-rw-r--r-- | src/zap/zapinfo.cpp | 4 | ||||
-rw-r--r-- | src/zap/zapper.cpp | 1 |
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); |