Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/coreclr/vm/precode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,23 +150,6 @@ MethodDesc* Precode::GetMethodDesc(BOOL fSpeculative /*= FALSE*/)
return (PTR_MethodDesc)pMD;
}

BOOL Precode::IsCorrectMethodDesc(MethodDesc * pMD)
{
CONTRACTL
{
NOTHROW;
GC_NOTRIGGER;
MODE_ANY;
}
CONTRACTL_END;
MethodDesc * pMDfromPrecode = GetMethodDesc(TRUE);

if (pMDfromPrecode == pMD)
return TRUE;

return FALSE;
}

BOOL Precode::IsPointingToPrestub(PCODE target)
{
CONTRACTL
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/vm/precode.h
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ class Precode {
PTR_PCODE GetTargetSlot();

MethodDesc * GetMethodDesc(BOOL fSpeculative = FALSE);
BOOL IsCorrectMethodDesc(MethodDesc * pMD);

static Precode* Allocate(PrecodeType t, MethodDesc* pMD,
LoaderAllocator *pLoaderAllocator, AllocMemTracker *pamTracker);
Expand Down
Loading