Skip to content

Commit

Permalink
Fix the revert I did previously
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed May 4, 2023
1 parent 24dd4c8 commit e4f20c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/coreclr/jit/lsra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,12 @@ void LinearScan::identifyCandidates()
// TODO-Throughput: This mapping can surely be more efficiently done
void LinearScan::initVarRegMaps()
{
if (!enregisterLocalVars)
{
inVarToRegMaps = nullptr;
outVarToRegMaps = nullptr;
return;
}
assert(compiler->lvaTrackedFixed); // We should have already set this to prevent us from adding any new tracked
// variables.

Expand Down

0 comments on commit e4f20c0

Please sign in to comment.