summaryrefslogtreecommitdiff
path: root/src/vm/excep.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-10-24 14:21:36 -0700
committerGitHub <noreply@github.com>2017-10-24 14:21:36 -0700
commitdbfd10c94055fb5af823b4a7e30774641afcb3b2 (patch)
tree7e1957015606b59a674e734de0456a3c6e19bcfc /src/vm/excep.cpp
parent1a0e2ef9c559af14acea429aecc591e1550b57db (diff)
downloadcoreclr-dbfd10c94055fb5af823b4a7e30774641afcb3b2.tar.gz
coreclr-dbfd10c94055fb5af823b4a7e30774641afcb3b2.tar.bz2
coreclr-dbfd10c94055fb5af823b4a7e30774641afcb3b2.zip
Delete dead code (#14673)
- assemblyusagelog - compatibilityflags - xmlparser
Diffstat (limited to 'src/vm/excep.cpp')
-rw-r--r--src/vm/excep.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp
index af2554e324..17ad686c81 100644
--- a/src/vm/excep.cpp
+++ b/src/vm/excep.cpp
@@ -3462,8 +3462,7 @@ DWORD MapWin32FaultToCOMPlusException(EXCEPTION_RECORD *pExceptionRecord)
{
// We have a config key, InsecurelyTreatAVsAsNullReference, that ensures we always translate to
// NullReferenceException instead of doing the new AV translation logic.
- if ((g_pConfig != NULL) && !g_pConfig->LegacyNullReferenceExceptionPolicy() &&
- !GetCompatibilityFlag(compatNullReferenceExceptionOnAV) )
+ if ((g_pConfig != NULL) && !g_pConfig->LegacyNullReferenceExceptionPolicy())
{
#if defined(FEATURE_HIJACK) && !defined(PLATFORM_UNIX)
// If we got the exception on a redirect function it means the original exception happened in managed code: