Skip to content

Commit c93cb4b

Browse files
committed
Remove SO handling
1 parent fa29b1e commit c93cb4b

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/coreclr/vm/excep.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2074,16 +2074,6 @@ VOID DECLSPEC_NORETURN RaiseTheExceptionInternalOnly(OBJECTREF throwable)
20742074
}
20752075
}
20762076

2077-
// Can't access the exception object when are in pre-emptive, so find out before
2078-
// if its an SO.
2079-
BOOL fIsStackOverflow = IsExceptionOfType(kStackOverflowException, &throwable);
2080-
2081-
if (fIsStackOverflow)
2082-
{
2083-
// Don't probe if we're already handling an SO. Just throw the exception.
2084-
RaiseException(code, flags, argCount, exceptionArgs);
2085-
}
2086-
20872077
// This needs to be both here and inside the handler below
20882078
// Enable preemptive mode before call into OS
20892079
GCX_PREEMP_NO_DTOR();

0 commit comments

Comments
 (0)