summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jit/lsra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp
index f86ee64..008a3d0 100644
--- a/src/jit/lsra.cpp
+++ b/src/jit/lsra.cpp
@@ -5834,7 +5834,7 @@ void LinearScan::allocateRegisters()
if (enregisterLocalVars && compiler->lvaKeepAliveAndReportThis())
{
LclVarDsc* thisVarDsc = compiler->lvaGetDesc(compiler->info.compThisArg);
- if (!thisVarDsc->lvDoNotEnregister)
+ if (thisVarDsc->lvLRACandidate)
{
Interval* interval = getIntervalForLocalVar(thisVarDsc->lvVarIndex);
if (interval->isSplit)