summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorBill Buzbee <buzbee@android.com>2014-09-07 19:38:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-07 19:38:45 +0000
commit9b868cbfa6d74387a80ce52a426f9a5bc3ddbbaf (patch)
treebb5984c4eaac3e924dac1550cbd9f97d5457231e /compiler
parent3f546cadc83e6de69cf6597858033085d5fcf33e (diff)
parent007a065ac5dbb41a271c5cc117fccb6b04b323ae (diff)
downloadandroid_art-9b868cbfa6d74387a80ce52a426f9a5bc3ddbbaf.tar.gz
android_art-9b868cbfa6d74387a80ce52a426f9a5bc3ddbbaf.tar.bz2
android_art-9b868cbfa6d74387a80ce52a426f9a5bc3ddbbaf.zip
Merge "ART: Make the dominator bitvectors expandable"
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/ssa_transformation.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/dex/ssa_transformation.cc b/compiler/dex/ssa_transformation.cc
index 7bf7a651ab..a2b9bb7760 100644
--- a/compiler/dex/ssa_transformation.cc
+++ b/compiler/dex/ssa_transformation.cc
@@ -276,11 +276,11 @@ void MIRGraph::InitializeDominationInfo(BasicBlock* bb) {
if (bb->dominators == NULL) {
bb->dominators = new (arena_) ArenaBitVector(arena_, num_total_blocks,
- false /* expandable */, kBitMapDominators);
+ true /* expandable */, kBitMapDominators);
bb->i_dominated = new (arena_) ArenaBitVector(arena_, num_total_blocks,
- false /* expandable */, kBitMapIDominated);
+ true /* expandable */, kBitMapIDominated);
bb->dom_frontier = new (arena_) ArenaBitVector(arena_, num_total_blocks,
- false /* expandable */, kBitMapDomFrontier);
+ true /* expandable */, kBitMapDomFrontier);
} else {
bb->dominators->ClearAllBits();
bb->i_dominated->ClearAllBits();