summaryrefslogtreecommitdiff
path: root/src/jit/rationalize.cpp
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-07-11 08:06:49 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-07-11 08:06:49 -0700
commit894ed3d2eab3ba026908071688f51ae6e82a3634 (patch)
treecc2faec7fd13cfadc6eed77bff7eaed11de62160 /src/jit/rationalize.cpp
parente6b99f56f326be783ef9b5e56f319526464fab13 (diff)
downloadcoreclr-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.cpp7
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;
}