We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf79a4 commit 2f8f6e7Copy full SHA for 2f8f6e7
src/coreclr/jit/importer.cpp
@@ -9936,9 +9936,10 @@ void Compiler::impImportBlockCode(BasicBlock* block)
9936
impPushOnStack(gtNewLclvNode(lclNum, TYP_REF), tiRetVal);
9937
9938
#ifdef DEBUG
9939
- // 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,
9940
+ // but only if we know the precise type
9941
//
- if (JitConfig.EnableExtraSuperPmiQueries())
9942
+ if (JitConfig.EnableExtraSuperPmiQueries() && !eeIsSharedInst(resolvedToken.hClass))
9943
{
9944
void* pEmbedClsHnd;
9945
info.compCompHnd->embedClassHandle(resolvedToken.hClass, &pEmbedClsHnd);
0 commit comments