diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2017-07-11 08:06:49 -0700 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2017-07-11 08:06:49 -0700 |
commit | 894ed3d2eab3ba026908071688f51ae6e82a3634 (patch) | |
tree | cc2faec7fd13cfadc6eed77bff7eaed11de62160 /src/jit/rationalize.cpp | |
parent | e6b99f56f326be783ef9b5e56f319526464fab13 (diff) | |
download | coreclr-894ed3d2eab3ba026908071688f51ae6e82a3634.tar.gz coreclr-894ed3d2eab3ba026908071688f51ae6e82a3634.tar.bz2 coreclr-894ed3d2eab3ba026908071688f51ae6e82a3634.zip |
Remove `GTF_VAR_USEDEF`.
Nothing sets this flag.
Diffstat (limited to 'src/jit/rationalize.cpp')
-rw-r--r-- | src/jit/rationalize.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/jit/rationalize.cpp b/src/jit/rationalize.cpp index 7d39af9d66..875d9ec9f3 100644 --- a/src/jit/rationalize.cpp +++ b/src/jit/rationalize.cpp @@ -993,9 +993,6 @@ void Rationalizer::DoPhase() // This needs to be done before the transition to LIR because it relies on the use // of fgMorphArgs, which is designed to operate on HIR. Once this is done for a // particular statement, link that statement's nodes into the current basic block. - // - // This visit also clears the GTF_VAR_USEDEF bit on locals, which is not necessary - // in the backend. fgWalkResult PreOrderVisit(GenTree** use, GenTree* user) { GenTree* const node = *use; @@ -1004,10 +1001,6 @@ void Rationalizer::DoPhase() { m_rationalizer.RewriteIntrinsicAsUserCall(use, this->m_ancestors); } - else if (node->OperIsLocal()) - { - node->gtFlags &= ~GTF_VAR_USEDEF; - } return Compiler::WALK_CONTINUE; } |