Skip to content

Commit

Permalink
Delete unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas committed Oct 9, 2024
1 parent 50b8a1f commit 9c366a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions src/coreclr/inc/loaderheap.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,6 @@ class UnlockedLoaderHeap
}
#endif

#ifdef _DEBUG
// Stubs allocated from a LoaderHeap will have unwind info registered with NT.
// The info must be unregistered when the heap is destroyed.
BOOL m_fPermitStubsWithUnwindInfo;
BOOL m_fStubUnwindInfoUnregistered;
#endif

public:
BOOL m_fExplicitControl; // Am I a LoaderHeap or an ExplicitControlLoaderHeap?
void (*m_codePageGenerator)(BYTE* pageBase, BYTE* pageBaseRX, SIZE_T size);
Expand Down
4 changes: 0 additions & 4 deletions src/coreclr/utilcode/loaderheap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,6 @@ UnlockedLoaderHeap::UnlockedLoaderHeap(DWORD dwReserveBlockSize,
s_dwNumInstancesOfLoaderHeaps++;
m_pEventList = NULL;
m_dwDebugFlags = LoaderHeapSniffer::InitDebugFlags();
m_fPermitStubsWithUnwindInfo = FALSE;
m_fStubUnwindInfoUnregistered= FALSE;
#endif

m_kind = kind;
Expand All @@ -993,8 +991,6 @@ UnlockedLoaderHeap::~UnlockedLoaderHeap()
}
CONTRACTL_END

_ASSERTE(!m_fPermitStubsWithUnwindInfo || m_fStubUnwindInfoUnregistered);

if (m_pRangeList != NULL)
m_pRangeList->RemoveRanges((void *) this);

Expand Down

0 comments on commit 9c366a3

Please sign in to comment.