template void Compiler::compUpdateLifeVar<false>(GenTree* tree, VARSET_TP* pLastUseVars);
template <bool ForCodeGen>
-void Compiler::compChangeLife(VARSET_VALARG_TP newLife DEBUGARG(GenTree* tree))
+void Compiler::compChangeLife(VARSET_VALARG_TP newLife)
{
LclVarDsc* varDsc;
#ifdef DEBUG
if (verbose)
{
- if (tree != nullptr)
- {
- Compiler::printTreeID(tree);
- }
printf("Change life %s ", VarSetOps::ToString(this, compCurLife));
dumpConvertedVarSet(this, compCurLife);
printf(" -> %s ", VarSetOps::ToString(this, newLife));
{
codeGen->gcInfo.gcRegByrefSetCur &= ~regMask;
}
- codeGen->genUpdateRegLife(varDsc, false /*isBorn*/, true /*isDying*/ DEBUGARG(tree));
+ codeGen->genUpdateRegLife(varDsc, false /*isBorn*/, true /*isDying*/ DEBUGARG(nullptr));
}
#ifndef LEGACY_BACKEND
// This isn't in a register, so update the gcVarPtrSetCur.
#endif // DEBUG
VarSetOps::RemoveElemD(this, codeGen->gcInfo.gcVarPtrSetCur, bornVarIndex);
#endif // !LEGACY_BACKEND
- codeGen->genUpdateRegLife(varDsc, true /*isBorn*/, false /*isDying*/ DEBUGARG(tree));
+ codeGen->genUpdateRegLife(varDsc, true /*isBorn*/, false /*isDying*/ DEBUGARG(nullptr));
regMaskTP regMask = varDsc->lvRegMask();
if (isGCRef)
{
}
// Need an explicit instantiation.
-template void Compiler::compChangeLife<true>(VARSET_VALARG_TP newLife DEBUGARG(GenTree* tree));
+template void Compiler::compChangeLife<true>(VARSET_VALARG_TP newLife);
#ifdef LEGACY_BACKEND
gcInfo.gcMarkRegSetNpt(gcrefRegs | byrefRegs);
if (!VarSetOps::Equal(compiler, compiler->compCurLife, block->bbLiveOut))
- compiler->genChangeLife(block->bbLiveOut DEBUGARG(NULL));
+ compiler->genChangeLife(block->bbLiveOut);
/* Both stacks should always be empty on exit from a basic block */
GenTree* compCurLifeTree; // node after which compCurLife has been computed
template <bool ForCodeGen>
- void compChangeLife(VARSET_VALARG_TP newLife DEBUGARG(GenTree* tree));
+ void compChangeLife(VARSET_VALARG_TP newLife);
- void genChangeLife(VARSET_VALARG_TP newLife DEBUGARG(GenTree* tree))
+ void genChangeLife(VARSET_VALARG_TP newLife)
{
- compChangeLife</*ForCodeGen*/ true>(newLife DEBUGARG(tree));
+ compChangeLife</*ForCodeGen*/ true>(newLife);
}
template <bool ForCodeGen>