diff options
-rw-r--r-- | src/jit/lsra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 5002fdd66e..8f9bdd1ff8 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) |