summaryrefslogtreecommitdiffstats
path: root/compiler/dex/ssa_transformation.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-12-09 11:09:39 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-09 11:09:40 +0000
commit6bb3919e4413ad50f9b7e009829bba292b609e03 (patch)
tree2b99a452959b6380ca5117a64648e83d63c9d6e2 /compiler/dex/ssa_transformation.cc
parentd1780b98e5b58208e6836c8520dad2a2dadfe322 (diff)
parent8b858e16563ebf8e522df026a6ab409f1bd9b3de (diff)
downloadart-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.cc6
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;
- }
}
}
}