summaryrefslogtreecommitdiff
path: root/src/vm/callhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/callhelpers.cpp')
-rw-r--r--src/vm/callhelpers.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vm/callhelpers.cpp b/src/vm/callhelpers.cpp
index addd5192da..0e0efb583d 100644
--- a/src/vm/callhelpers.cpp
+++ b/src/vm/callhelpers.cpp
@@ -251,9 +251,7 @@ void DispatchCall(
CallDescrData * pCallDescrData,
OBJECTREF *pRefException,
ContextTransitionFrame* pFrame /* = NULL */
-#ifdef FEATURE_CORRUPTING_EXCEPTIONS
, CorruptionSeverity *pSeverity /*= NULL*/
-#endif // FEATURE_CORRUPTING_EXCEPTIONS
)
{
CONTRACTL
@@ -269,13 +267,11 @@ void DispatchCall(
g_pDebugInterface->TraceCall((const BYTE *)pCallDescrData->pTarget);
#endif // DEBUGGING_SUPPORTED
-#ifdef FEATURE_CORRUPTING_EXCEPTIONS
if (pSeverity != NULL)
{
// By default, assume any exception that comes out is NotCorrupting
*pSeverity = NotCorrupting;
}
-#endif // FEATURE_CORRUPTING_EXCEPTIONS
EX_TRY
{
@@ -287,13 +283,11 @@ void DispatchCall(
{
*pRefException = GET_THROWABLE();
-#ifdef FEATURE_CORRUPTING_EXCEPTIONS
if (pSeverity != NULL)
{
// By default, assume any exception that comes out is NotCorrupting
*pSeverity = GetThread()->GetExceptionState()->GetLastActiveExceptionCorruptionSeverity();
}
-#endif // FEATURE_CORRUPTING_EXCEPTIONS
}
EX_END_CATCH(RethrowTransientExceptions);