summaryrefslogtreecommitdiff
path: root/src/jit/lsra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/lsra.cpp')
-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 f86ee64ff0..008a3d02f5 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)