diff options
| -rw-r--r-- | compiler/dex/mir_graph.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/dex/mir_graph.cc b/compiler/dex/mir_graph.cc index 3ef1dbfac3..d6cd238c32 100644 --- a/compiler/dex/mir_graph.cc +++ b/compiler/dex/mir_graph.cc @@ -1418,9 +1418,6 @@ void MIRGraph::SSATransformationStart() { temp_bit_vector_size_ = cu_->num_dalvik_registers; temp_bit_vector_ = new (temp_scoped_alloc_.get()) ArenaBitVector( temp_scoped_alloc_.get(), temp_bit_vector_size_, false, kBitMapRegisterV); - - // Update the maximum number of reachable blocks. - max_num_reachable_blocks_ = num_reachable_blocks_; } void MIRGraph::SSATransformationEnd() { @@ -1433,6 +1430,9 @@ void MIRGraph::SSATransformationEnd() { temp_bit_vector_ = nullptr; DCHECK(temp_scoped_alloc_.get() != nullptr); temp_scoped_alloc_.reset(); + + // Update the maximum number of reachable blocks. + max_num_reachable_blocks_ = num_reachable_blocks_; } void MIRGraph::ComputeTopologicalSortOrder() { |