Delete dead code (dotnet/coreclr#26060)
authorMukul Sabharwal <mjsabby@gmail.com>
Thu, 8 Aug 2019 05:18:22 +0000 (22:18 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 8 Aug 2019 05:18:22 +0000 (07:18 +0200)
Commit migrated from https://github.com/dotnet/coreclr/commit/b9664e79fbe424d98b446e068b65128487e682d2

src/coreclr/src/inc/profilepriv.inl

index 5a0513f..1eadcf8 100644 (file)
@@ -311,20 +311,6 @@ inline BOOL CORProfilerTrackExceptions()
             ((&g_profControlBlock)->dwEventMask & COR_PRF_MONITOR_EXCEPTIONS));
 }
 
-inline BOOL CORProfilerTrackCLRExceptions()
-{
-    CONTRACTL
-    {
-        NOTHROW;
-        GC_NOTRIGGER;
-        CANNOT_TAKE_LOCK;
-    }
-    CONTRACTL_END;
-
-    return (CORProfilerPresent() &&
-            ((&g_profControlBlock)->dwEventMask & COR_PRF_MONITOR_CLR_EXCEPTIONS));
-}
-
 inline BOOL CORProfilerTrackTransitions()
 {
     CONTRACTL