summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-02-20 13:51:46 (GMT)
committerJan Kotas <jkotas@microsoft.com>2015-02-20 13:51:46 (GMT)
commit2748d0480bf269dfd75c046c57f77abefa8cab94 (patch)
treed78cc482d03c950c50e7bf198cf7c363c48d7755 /src
parent44fb223c6240d303363dfa9003b17bc7cac753bc (diff)
downloadcoreclr-2748d0480bf269dfd75c046c57f77abefa8cab94.zip
coreclr-2748d0480bf269dfd75c046c57f77abefa8cab94.tar.gz
coreclr-2748d0480bf269dfd75c046c57f77abefa8cab94.tar.bz2
Delete dead code
Diffstat (limited to 'src')
-rw-r--r--src/vm/amd64/excepamd64.cpp5
-rw-r--r--src/vm/arm/stubs.cpp5
-rw-r--r--src/vm/arm64/stubs.cpp5
-rw-r--r--src/vm/excep.cpp5
-rw-r--r--src/vm/excep.h2
-rw-r--r--src/vm/i386/excepx86.cpp9
6 files changed, 0 insertions, 31 deletions
diff --git a/src/vm/amd64/excepamd64.cpp b/src/vm/amd64/excepamd64.cpp
index e8042d8..1a032ae 100644
--- a/src/vm/amd64/excepamd64.cpp
+++ b/src/vm/amd64/excepamd64.cpp
@@ -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;
diff --git a/src/vm/arm/stubs.cpp b/src/vm/arm/stubs.cpp
index a66328b..ba7d0a9 100644
--- a/src/vm/arm/stubs.cpp
+++ b/src/vm/arm/stubs.cpp
@@ -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;
diff --git a/src/vm/arm64/stubs.cpp b/src/vm/arm64/stubs.cpp
index d935542..cca6b71 100644
--- a/src/vm/arm64/stubs.cpp
+++ b/src/vm/arm64/stubs.cpp
@@ -1000,11 +1000,6 @@ AdjustContextForVirtualStub(
}
#endif // !(DACCESS_COMPILE && CROSSGEN_COMPILE)
-bool IsInstrModifyFault(PEXCEPTION_POINTERS pExceptionInfo)
-{
- return false;
-}
-
extern "C" {
void FuncEvalHijack(void)
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp
index c66d3a8..7e2a8fb 100644
--- a/src/vm/excep.cpp
+++ b/src/vm/excep.cpp
@@ -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
diff --git a/src/vm/excep.h b/src/vm/excep.h
index 531e427..30bd3a1 100644
--- a/src/vm/excep.h
+++ b/src/vm/excep.h
@@ -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);
diff --git a/src/vm/i386/excepx86.cpp b/src/vm/i386/excepx86.cpp
index 4cad260..ca7a18d 100644
--- a/src/vm/i386/excepx86.cpp
+++ b/src/vm/i386/excepx86.cpp
@@ -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;