Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed Jul 9, 2021
1 parent d3e03a6 commit 649c6c4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/coreclr/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17441,17 +17441,18 @@ void Compiler::fgRetypeImplicitByRefArgs()
#endif // DEBUG

// Propagate address-taken-ness and do-not-enregister-ness.
newVarDsc->lvAddrExposed = varDsc->lvAddrExposed;
newVarDsc->lvDoNotEnregister = varDsc->lvDoNotEnregister;
#ifdef DEBUG
newVarDsc->lvLclBlockOpAddr = varDsc->lvLclBlockOpAddr;
newVarDsc->lvLclFieldExpr = varDsc->lvLclFieldExpr;
newVarDsc->lvVMNeedsStackAddr = varDsc->lvVMNeedsStackAddr;
newVarDsc->lvAddrExposed = varDsc->lvAddrExposed;
newVarDsc->lvDoNotEnregister = varDsc->lvDoNotEnregister;
newVarDsc->lvLiveInOutOfHndlr = varDsc->lvLiveInOutOfHndlr;
newVarDsc->lvSingleDef = varDsc->lvSingleDef;
newVarDsc->lvSingleDefRegCandidate = varDsc->lvSingleDefRegCandidate;
newVarDsc->lvSpillAtSingleDef = varDsc->lvSpillAtSingleDef;
newVarDsc->lvLiveAcrossUCall = varDsc->lvLiveAcrossUCall;
#ifdef DEBUG
newVarDsc->lvLclBlockOpAddr = varDsc->lvLclBlockOpAddr;
newVarDsc->lvLclFieldExpr = varDsc->lvLclFieldExpr;
newVarDsc->lvVMNeedsStackAddr = varDsc->lvVMNeedsStackAddr;
newVarDsc->lvSingleDefDisqualifyReason = varDsc->lvSingleDefDisqualifyReason;
newVarDsc->lvLiveAcrossUCall = varDsc->lvLiveAcrossUCall;
#endif // DEBUG

// If the promotion is dependent, the promoted temp would just be committed
Expand Down

0 comments on commit 649c6c4

Please sign in to comment.