Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Delete dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas committed Mar 31, 2018
1 parent d960439 commit 9114e30
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion src/inc/zapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ class Zapper
void Print(CorZapLogLevel level, LPCWSTR format, va_list args);
void PrintErrorMessage(CorZapLogLevel level, Exception *ex);
void PrintErrorMessage(CorZapLogLevel level, HRESULT hr);
void ReportEventNGEN(WORD wType, DWORD dwEventID, LPCWSTR format, ...);

BOOL CheckAssemblyUpToDate(CORINFO_ASSEMBLY_HANDLE hAssembly, CORCOMPILE_NGEN_SIGNATURE * pNativeImageSig);
BOOL TryToInstallFromRepository(CORINFO_ASSEMBLY_HANDLE hAssembly, CORCOMPILE_NGEN_SIGNATURE * pNativeImageSig);
Expand Down
31 changes: 0 additions & 31 deletions src/vm/excep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,37 +107,6 @@ BOOL IsExceptionFromManagedCode(const EXCEPTION_RECORD * pExceptionRecord)

#ifndef DACCESS_COMPILE

//----------------------------------------------------------------------------
//
// IsExceptionFromManagedCodeCallback - a wrapper for IsExceptionFromManagedCode
//
// Arguments:
// pExceptionRecord - pointer to exception record
//
// Return Value:
// TRUE or FALSE
//
//----------------------------------------------------------------------------
BOOL __stdcall IsExceptionFromManagedCodeCallback(EXCEPTION_RECORD * pExceptionRecord)
{
CONTRACTL {
NOTHROW;
GC_NOTRIGGER;
SO_TOLERANT;
SUPPORTS_DAC;
PRECONDITION(CheckPointer(pExceptionRecord));
} CONTRACTL_END;

// If we can't enter the EE, done.
if (g_fForbidEnterEE)
{
return FALSE;
}

return IsExceptionFromManagedCode(pExceptionRecord);
}


#define SZ_UNHANDLED_EXCEPTION W("Unhandled Exception:")
#define SZ_UNHANDLED_EXCEPTION_CHARLEN ((sizeof(SZ_UNHANDLED_EXCEPTION) / sizeof(WCHAR)))

Expand Down

0 comments on commit 9114e30

Please sign in to comment.