Skip to content
Merged
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
5 changes: 3 additions & 2 deletions src/coreclr/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9936,9 +9936,10 @@ void Compiler::impImportBlockCode(BasicBlock* block)
impPushOnStack(gtNewLclvNode(lclNum, TYP_REF), tiRetVal);

#ifdef DEBUG
// Under SPMI, look up info we might ask for if we stack allocate this array
// Under SPMI, look up info we might ask for if we stack allocate this array,
// but only if we know the precise type
//
if (JitConfig.EnableExtraSuperPmiQueries())
if (JitConfig.EnableExtraSuperPmiQueries() && !eeIsSharedInst(resolvedToken.hClass))
Copy link

Copilot AI May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider expanding the comment to clarify what qualifies as a 'precise type' and what constitutes a shared instance, to improve maintainability and clarity.

Copilot uses AI. Check for mistakes.
{
void* pEmbedClsHnd;
info.compCompHnd->embedClassHandle(resolvedToken.hClass, &pEmbedClsHnd);
Expand Down
Loading