OSDN Git Service

ART: Better SSA Allocation when recreating SSA
authorJean Christophe Beyler <jean.christophe.beyler@intel.com>
Thu, 1 May 2014 22:36:22 +0000 (15:36 -0700)
committerJean Christophe Beyler <jean.christophe.beyler@intel.com>
Tue, 27 May 2014 15:58:39 +0000 (08:58 -0700)
commit4896d7b6fb75add25f2d6ba84346ac83d8ba9d51
treeb3e2da5fa23c984d4ed1f2f83429350edb67f929
parent1b1aea22c0cc5567b5967590cb3f949cc45c3a9a
ART: Better SSA Allocation when recreating SSA

The SSA calculation is not allocation friendly. This makes the
SSARepresentation remember how much is allocated and not reallocate
if SSA should be recalculated.

Also added some allocation friendly code for the dominance code.

Change-Id: Icd5586b7e2fefae8e1535975ab400b1ca95b500f
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
compiler/dex/mir_dataflow.cc
compiler/dex/mir_graph.cc
compiler/dex/mir_graph.h
compiler/dex/ssa_transformation.cc