diff options
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r-- | src/vm/jithelpers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp index c1b306fdc3..6d4fd897c4 100644 --- a/src/vm/jithelpers.cpp +++ b/src/vm/jithelpers.cpp @@ -5427,6 +5427,7 @@ HCIMPL1(void, IL_Throw, Object* obj) } } +#ifdef FEATURE_CORRUPTING_EXCEPTIONS if (!g_pConfig->LegacyCorruptedStateExceptionsPolicy()) { // Within the VM, we could have thrown and caught a managed exception. This is done by @@ -5441,6 +5442,7 @@ HCIMPL1(void, IL_Throw, Object* obj) ThreadExceptionState *pExState = GetThread()->GetExceptionState(); pExState->SetLastActiveExceptionCorruptionSeverity(NotSet); } +#endif // FEATURE_CORRUPTING_EXCEPTIONS RaiseTheExceptionInternalOnly(oref, FALSE); |