From 7f533e516a5b0f8fd83bc616cd9241e294d24aaf Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Mon, 5 Dec 2016 16:15:41 +0900 Subject: [PATCH] [x86/Linux] Fix unused function warning (#8429) * Delete the unused code --- src/vm/i386/excepx86.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/vm/i386/excepx86.cpp b/src/vm/i386/excepx86.cpp index c8dc6c0..dad6588 100644 --- a/src/vm/i386/excepx86.cpp +++ b/src/vm/i386/excepx86.cpp @@ -431,18 +431,6 @@ CPFH_AdjustContextForThreadSuspensionRace(CONTEXT *pContext, Thread *pThread) #endif // FEATURE_HIJACK -// We want to leave true null reference exceptions alone. But if we are -// trashing memory, we don't want the application to swallow it. The 0x100 -// below will give us false positives for debugging, if the app is accessing -// a field more than 256 bytes down an object, where the reference is null. -// -// Removed use of the IgnoreUnmanagedExceptions reg key...simply return false now. -// -static inline BOOL -CPFH_ShouldIgnoreException(EXCEPTION_RECORD *pExceptionRecord) { - LIMITED_METHOD_CONTRACT; - return FALSE; -} static inline void CPFH_UpdatePerformanceCounters() { -- 2.7.4