From 606e91c870a0a7c25807064ef3d8e7c05afc8ae7 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Wed, 17 May 2017 23:19:00 +0900 Subject: [PATCH] Remove unused CLRVectoredExceptionHandlerShim forward declarations (#11667) --- src/vm/exceptionhandling.h | 2 -- src/vm/exstate.h | 3 --- src/vm/frames.h | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/vm/exceptionhandling.h b/src/vm/exceptionhandling.h index 6d1f2b42a8..3566660370 100644 --- a/src/vm/exceptionhandling.h +++ b/src/vm/exceptionhandling.h @@ -21,8 +21,6 @@ #include "exstatecommon.h" -LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo); - EXTERN_C EXCEPTION_DISPOSITION ProcessCLRException(IN PEXCEPTION_RECORD pExceptionRecord WIN64_ARG(IN ULONG64 MemoryStackFp) diff --git a/src/vm/exstate.h b/src/vm/exstate.h index ba2ce2dba5..3ecad13267 100644 --- a/src/vm/exstate.h +++ b/src/vm/exstate.h @@ -23,7 +23,6 @@ class EHClauseInfo; #define PRESERVE_WATSON_ACROSS_CONTEXTS 1 #endif -extern LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo); extern StackWalkAction COMPlusUnwindCallback(CrawlFrame *pCf, ThrowCallbackType *pData); // @@ -293,8 +292,6 @@ private: EXCEPTION_REGISTRATION_RECORD* pEstablisherFrame, Thread* pThread); - friend LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo); - friend class Thread; // It it the following method that needs to be a friend. But the prototype pulls in a lot more stuff, // so just make the Thread class a friend. diff --git a/src/vm/frames.h b/src/vm/frames.h index 681e566e2b..d7daa7649b 100644 --- a/src/vm/frames.h +++ b/src/vm/frames.h @@ -820,7 +820,7 @@ private: friend FCDECL0(VOID, JIT_StressGC); #ifdef _DEBUG friend LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo); -#endif // _DEBUG +#endif #ifdef _WIN64 friend Thread * __stdcall JIT_InitPInvokeFrame(InlinedCallFrame *pFrame, PTR_VOID StubSecretArg); #endif -- 2.34.1