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

Commit d2cae54

Browse files
authored
Filter RefEmit modules in SendEventsForNgenMethods (#9418) (#9421)
* Filter RefEmit modules in SendEventsForNgenMethods Fixes #6427
1 parent f2321b7 commit d2cae54

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vm/eventtrace.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6854,11 +6854,8 @@ VOID ETW::MethodLog::SendEventsForNgenMethods(Module *pModule, DWORD dwEventOpti
68546854
if (!pModule)
68556855
return;
68566856

6857-
PEImageLayout * pLoadedLayout = pModule->GetFile()->GetLoaded();
6858-
_ASSERTE(pLoadedLayout != NULL);
6859-
68606857
#ifdef FEATURE_READYTORUN
6861-
if (pLoadedLayout->HasReadyToRunHeader())
6858+
if (pModule->IsReadyToRun())
68626859
{
68636860
ReadyToRunInfo::MethodIterator mi(pModule->GetReadyToRunInfo());
68646861
while (mi.Next())

0 commit comments

Comments
 (0)