Delete dead code
authorJan Kotas <jkotas@microsoft.com>
Fri, 20 Feb 2015 13:51:46 +0000 (05:51 -0800)
committerJan Kotas <jkotas@microsoft.com>
Fri, 20 Feb 2015 13:51:46 +0000 (05:51 -0800)
src/vm/amd64/excepamd64.cpp
src/vm/arm/stubs.cpp
src/vm/arm64/stubs.cpp
src/vm/excep.cpp
src/vm/excep.h
src/vm/i386/excepx86.cpp

index e8042d8..1a032ae 100644 (file)
@@ -37,11 +37,6 @@ VOID ResetCurrentContext()
     LIMITED_METHOD_CONTRACT;
 }
 
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo)
-{
-    return false;
-}
-
 LONG CLRNoCatchHandler(EXCEPTION_POINTERS* pExceptionInfo, PVOID pv)
 {
     return EXCEPTION_CONTINUE_SEARCH;
index a66328b..ba7d0a9 100644 (file)
@@ -2192,11 +2192,6 @@ LONG CLRNoCatchHandler(EXCEPTION_POINTERS* pExceptionInfo, PVOID pv)
     return EXCEPTION_CONTINUE_SEARCH;
 }
 
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo)
-{
-    return false;
-}
-
 void UpdateRegDisplayFromCalleeSavedRegisters(REGDISPLAY * pRD, CalleeSavedRegisters * pRegs)
 {
     LIMITED_METHOD_CONTRACT;
index d935542..cca6b71 100644 (file)
@@ -1000,11 +1000,6 @@ AdjustContextForVirtualStub(
 }
 #endif // !(DACCESS_COMPILE && CROSSGEN_COMPILE)
 
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo)
-{
-    return false;
-}
-
 extern "C" {
 
 void FuncEvalHijack(void)
index c66d3a8..7e2a8fb 100644 (file)
@@ -8010,11 +8010,6 @@ VEH_ACTION WINAPI CLRVectoredExceptionHandlerPhase3(PEXCEPTION_POINTERS pExcepti
 
     GCX_NOTRIGGER();
 
-    if (IsInstrModifyFault(pExceptionInfo))
-    {
-        return VEH_CONTINUE_EXECUTION;
-    }
-
 #ifdef USE_REDIRECT_FOR_GCSTRESS
     // NOTE: this is effectively ifdef (_TARGET_AMD64_ || _TARGET_ARM_), and does not actually trigger
     // a GC.  This will redirect the exception context to a stub which will
index 531e427..30bd3a1 100644 (file)
@@ -747,8 +747,6 @@ BOOL IsInFirstFrameOfHandler(Thread *pThread,
 //==========================================================================
 LONG FilterAccessViolation(PEXCEPTION_POINTERS pExceptionPointers, LPVOID lpvParam);
 
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo);
-
 bool IsContinuableException(Thread *pThread);
 
 bool IsInterceptableException(Thread *pThread);
index 4cad260..ca7a18d 100644 (file)
@@ -3619,15 +3619,6 @@ EXCEPTION_HANDLER_IMPL(UMThunkPrestubHandler)
     return retval;
 }
 
-
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo)
-{
-    LIMITED_METHOD_CONTRACT;
-
-    // No longer implemented on x86.
-    return false;
-}
-
 LONG CLRNoCatchHandler(EXCEPTION_POINTERS* pExceptionInfo, PVOID pv)
 {
     WRAPPER_NO_CONTRACT;