diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2017-12-12 09:56:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 09:56:36 -0800 |
commit | 2e92b4a71071c1c99d1b39d8441c42d805d93310 (patch) | |
tree | 6a9822858c588ee7d0b0ff8f5f1d24253eb732f9 | |
parent | 56f3aee98b08d37206c19b3efe2c8b009c0fab80 (diff) | |
parent | 484ba9b02ae7fc9d08e0823504005c06d582b406 (diff) | |
download | coreclr-2e92b4a71071c1c99d1b39d8441c42d805d93310.tar.gz coreclr-2e92b4a71071c1c99d1b39d8441c42d805d93310.tar.bz2 coreclr-2e92b4a71071c1c99d1b39d8441c42d805d93310.zip |
Merge pull request #15487 from mikedn/doc-use-asg
Update GTF_VAR_USEASG documentation
-rw-r--r-- | Documentation/botr/ryujit-overview.md | 2 | ||||
-rw-r--r-- | Documentation/botr/ryujit-tutorial.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/botr/ryujit-overview.md b/Documentation/botr/ryujit-overview.md index 94eeb0660f..68110e2b75 100644 --- a/Documentation/botr/ryujit-overview.md +++ b/Documentation/botr/ryujit-overview.md @@ -103,7 +103,7 @@ The liveness analysis determines the set of defs, as well as the uses that are u * The live-in and live-out sets are captured in the `bbLiveIn` and `bbLiveOut` fields of the `BasicBlock`. * The `GTF_VAR_DEF` flag is set on a lclVar node (all of which are of type `GenTreeLclVarCommon`) that is a definition. -* The `GTF_VAR_USEASG` flag is set (in addition to the `GTF_VAR_DEF` flag) for the target of an update (e.g. +=). +* The `GTF_VAR_USEASG` flag is set (in addition to the `GTF_VAR_DEF` flag) on partial definitions of a local variable (i.e. `GT_LCL_FLD` nodes that do not define the entire variable). ## SSA diff --git a/Documentation/botr/ryujit-tutorial.md b/Documentation/botr/ryujit-tutorial.md index 97e64f1da8..ec8037f34a 100644 --- a/Documentation/botr/ryujit-tutorial.md +++ b/Documentation/botr/ryujit-tutorial.md @@ -299,7 +299,7 @@ They are also the lclVars for which GC ranges will be reported. Although the CLR ### Liveness Analysis - The live-in and live-out sets are captured in the bbLiveIn and bbLiveOut fields of the BasicBlock. - The GTF_VAR_DEF flag is set on a lclVar GenTree node that is a definition. - - The GTF_VAR_USEASG flag is set (in addition to the GTF_VAR_DEF flag) for the target of an update (e.g. +=). + - The GTF_VAR_USEASG flag is set (in addition to the GTF_VAR_DEF flag) on partial definitions of a local variable (i.e. `GT_LCL_FLD` nodes that do not define the entire variable). - GTF_VAR_DEATH is set to indicate the last uses. - The bitvector implementation is abstracted and can be changed to a variable sized set. |