# This is a combination of 2 commits.
# The first commit's message is:
Mark lvDoNotEnregister lclVars as contained
Even if a lclVar is tracked, it may not be a register candidate. When determining whether a lclVar should be contained or RegOptional, take that into account.
In the interest of making this as accurate as possible, mark lclVars early as lvDoNotEnregister when they meet criteria that will later disqualify them from a register.
# This is the commit message dotnet/coreclr#2:
Formatting
Commit migrated from https://github.com/dotnet/coreclr/commit/
34f400e5469900456f81226430b24e760a2d17f9