Mark lvDoNotEnregister lclVars as contained
else if (opts.MinOpts() && !JitConfig.JitMinOptsTrackGCrefs() && varTypeIsGC(varDsc->TypeGet()))
{
varDsc->lvTracked = 0;
+ lvaSetVarDoNotEnregister(lclNum DEBUGARG(DNER_MinOptsGC));
+ }
+ else if ((opts.compFlags & CLFLG_REGVAR) == 0)
+ {
+ lvaSetVarDoNotEnregister(lclNum DEBUGARG(DNER_NoRegVars));
}
+#endif // !defined(JIT32_GCENCODER) || !defined(LEGACY_BACKEND)
#if defined(JIT32_GCENCODER) && defined(WIN64EXCEPTIONS)
else if (lvaIsOriginalThisArg(lclNum) && (info.compMethodInfo->options & CORINFO_GENERICS_CTXT_FROM_THIS) != 0)
{