diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2017-06-22 11:43:57 -0700 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2017-06-23 15:22:29 -0700 |
commit | 34f400e5469900456f81226430b24e760a2d17f9 (patch) | |
tree | 4de400e583d2be305680f99267035055ebcc6174 /src/jit/lower.h | |
parent | a12306693cdce686ef6373e09fdf345b235d9a27 (diff) | |
download | coreclr-34f400e5469900456f81226430b24e760a2d17f9.tar.gz coreclr-34f400e5469900456f81226430b24e760a2d17f9.tar.bz2 coreclr-34f400e5469900456f81226430b24e760a2d17f9.zip |
# 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 #2:
Formatting
Diffstat (limited to 'src/jit/lower.h')
-rw-r--r-- | src/jit/lower.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lower.h b/src/jit/lower.h index cd1e5ef7ce..da9a726a67 100644 --- a/src/jit/lower.h +++ b/src/jit/lower.h @@ -279,7 +279,7 @@ private: bool IsContainableImmed(GenTree* parentNode, GenTree* childNode); // Return true if 'node' is a containable memory op. - bool IsContainableMemoryOp(GenTree* node); + bool IsContainableMemoryOp(GenTree* node, bool useTracked); // Makes 'childNode' contained in the 'parentNode' void MakeSrcContained(GenTreePtr parentNode, GenTreePtr childNode); |