OSDN Git Service

Quick: Reduce memory usage and improve compile time.
authorVladimir Marko <vmarko@google.com>
Thu, 9 Oct 2014 13:57:59 +0000 (14:57 +0100)
committerVladimir Marko <vmarko@google.com>
Thu, 9 Oct 2014 14:28:21 +0000 (15:28 +0100)
commit5229cf17e3240d55f043c0a9308e22d967f897dc
treeebdce05568bf76a91bcb94dde0f48d2f1ffe11ec
parent67c72b8882f539afd1c8643396fce417cadb85d5
Quick: Reduce memory usage and improve compile time.

Move the def-block-matrix from Arena to ScopedArena. Remove
BasicBlockDataFlow::ending_check_v and use a temporary bit
matrix instead. Remove unused BasicBlockDataFlow::phi_v.
Avoid some BitVector::Copy() at the end of null and clinit
check elimination passes when the contents of the source
BitVector is no longer needed.

Change-Id: I8111b2f8a51e63075aa124b528d61b79b6933274
compiler/dex/mir_graph.cc
compiler/dex/mir_graph.h
compiler/dex/mir_optimization.cc
compiler/dex/ssa_transformation.cc