diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-12-12 19:22:13 +0200 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2017-12-12 19:46:26 +0200 |
commit | 484ba9b02ae7fc9d08e0823504005c06d582b406 (patch) | |
tree | e518c6b46297be3e52a316f3552a353986afd478 /Documentation | |
parent | a321506ee6c4459a548d00309808e1ffc9070b9a (diff) | |
download | coreclr-484ba9b02ae7fc9d08e0823504005c06d582b406.tar.gz coreclr-484ba9b02ae7fc9d08e0823504005c06d582b406.tar.bz2 coreclr-484ba9b02ae7fc9d08e0823504005c06d582b406.zip |
Update GTF_VAR_USEASG documentation
Diffstat (limited to '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. |