summaryrefslogtreecommitdiff
path: root/src/zap
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-08-07 12:16:45 -0700
committerGitHub <noreply@github.com>2017-08-07 12:16:45 -0700
commit46ab1d132c9ad471d79afa20c188c2f9c85e5f20 (patch)
tree233ab93323e49cf4c5404e18304374a9faae74de /src/zap
parenta9516dacd742ccaeae2820b89ad313a53d22d917 (diff)
downloadcoreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.gz
coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.bz2
coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.zip
Cleanup code access security from the unmanaged runtime (#13241)
Diffstat (limited to 'src/zap')
-rw-r--r--src/zap/zapinfo.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp
index f1399b3d4d..4f06d94615 100644
--- a/src/zap/zapinfo.cpp
+++ b/src/zap/zapinfo.cpp
@@ -448,25 +448,6 @@ void ZapInfo::CompileMethod()
}
#endif
- if (!m_jitFlags.IsSet(CORJIT_FLAGS::CORJIT_FLAG_SKIP_VERIFICATION))
- {
- BOOL raiseVerificationException, unverifiableGenericCode;
-
- m_jitFlags = GetCompileFlagsIfGenericInstantiation(
- m_currentMethodHandle,
- m_jitFlags,
- this,
- &raiseVerificationException,
- &unverifiableGenericCode);
-
- // Instead of raising a VerificationException, we will leave the method
- // uncompiled. If it gets called at runtime, we will raise the
- // VerificationException at that time while trying to compile the method.
- if (raiseVerificationException)
- return;
- }
-
-
if (m_pImage->m_stats)
{
m_pImage->m_stats->m_methods++;