diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-08-07 12:16:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 12:16:45 -0700 |
commit | 46ab1d132c9ad471d79afa20c188c2f9c85e5f20 (patch) | |
tree | 233ab93323e49cf4c5404e18304374a9faae74de /src/zap/zapinfo.cpp | |
parent | a9516dacd742ccaeae2820b89ad313a53d22d917 (diff) | |
download | coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.gz coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.bz2 coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.zip |
Cleanup code access security from the unmanaged runtime (#13241)
Diffstat (limited to 'src/zap/zapinfo.cpp')
-rw-r--r-- | src/zap/zapinfo.cpp | 19 |
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++; |