diff options
author | Vladimir Marko <vmarko@google.com> | 2014-12-09 11:09:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-09 11:09:40 +0000 |
commit | 6bb3919e4413ad50f9b7e009829bba292b609e03 (patch) | |
tree | 2b99a452959b6380ca5117a64648e83d63c9d6e2 /compiler/dex/ssa_transformation.cc | |
parent | d1780b98e5b58208e6836c8520dad2a2dadfe322 (diff) | |
parent | 8b858e16563ebf8e522df026a6ab409f1bd9b3de (diff) | |
download | art-6bb3919e4413ad50f9b7e009829bba292b609e03.zip art-6bb3919e4413ad50f9b7e009829bba292b609e03.tar.gz art-6bb3919e4413ad50f9b7e009829bba292b609e03.tar.bz2 |
Merge "Quick: Redefine the notion of back-egdes."
Diffstat (limited to 'compiler/dex/ssa_transformation.cc')
-rw-r--r-- | compiler/dex/ssa_transformation.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/dex/ssa_transformation.cc b/compiler/dex/ssa_transformation.cc index b803462..7cd431e 100644 --- a/compiler/dex/ssa_transformation.cc +++ b/compiler/dex/ssa_transformation.cc @@ -197,12 +197,6 @@ void MIRGraph::ComputeDomPostOrderTraversal(BasicBlock* bb) { dom_post_order_traversal_.push_back(curr_bb->id); } work_stack.pop_back(); - - /* hacky loop detection */ - if ((curr_bb->taken != NullBasicBlockId) && curr_bb->dominators->IsBitSet(curr_bb->taken)) { - curr_bb->nesting_depth++; - attributes_ |= METHOD_HAS_LOOP; - } } } } |