File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9701,18 +9701,22 @@ void Compiler::impImportBlockCode(BasicBlock* block)
9701
9701
impPushOnStack(gtNewLclvNode(lclNum, TYP_REF), tiRetVal);
9702
9702
9703
9703
#ifdef DEBUG
9704
- // Under SPMI, look up the array element type class handle
9705
- // and layout info (for arrays of structs)
9704
+ // Under SPMI, look up info we might ask for if we stack allocate this array
9706
9705
//
9707
9706
if (JitConfig.EnableExtraSuperPmiQueries())
9708
9707
{
9708
+ void* pEmbedClsHnd;
9709
+ info.compCompHnd->embedClassHandle(resolvedToken.hClass, &pEmbedClsHnd);
9709
9710
CORINFO_CLASS_HANDLE elemClsHnd = NO_CLASS_HANDLE;
9710
9711
CorInfoType elemCorType = info.compCompHnd->getChildType(resolvedToken.hClass, &elemClsHnd);
9711
9712
var_types elemType = JITtype2varType(elemCorType);
9712
9713
if (elemType == TYP_STRUCT)
9713
9714
{
9714
9715
typGetObjLayout(elemClsHnd);
9716
+ info.compCompHnd->isValueClass(elemClsHnd);
9715
9717
}
9718
+ void* pIndirection;
9719
+ info.compCompHnd->getHelperFtn(CORINFO_HELP_MEMZERO, &pIndirection);
9716
9720
}
9717
9721
#endif
9718
9722
}
You can’t perform that action at this time.
0 commit comments