summaryrefslogtreecommitdiff
path: root/src/jit/lower.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r--src/jit/lower.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index 72dba4e..9cab5ee 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -1723,14 +1723,14 @@ void Lowering::LowerFastTailCall(GenTreeCall* call)
{
tmpLclNum = comp->lvaGrabTemp(
true DEBUGARG("Fast tail call lowering is creating a new local variable"));
- comp->lvaSortAgain = true;
- tmpType = genActualType(callerArgDsc->lvaArgType());
- comp->lvaTable[tmpLclNum].lvType = tmpType;
- comp->lvaTable[tmpLclNum].lvRefCnt = 1;
+ comp->lvaSortAgain = true;
+ tmpType = genActualType(callerArgDsc->lvaArgType());
+ comp->lvaTable[tmpLclNum].lvType = tmpType;
+ comp->lvaTable[tmpLclNum].lvRefCnt = 1;
+ comp->lvaTable[tmpLclNum].lvDoNotEnregister = comp->lvaTable[lcl->gtLclNum].lvDoNotEnregister;
}
lcl->SetLclNum(tmpLclNum);
- lcl->SetOper(GT_LCL_VAR);
}
}
}