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>
Fri, 2 May 2014 20:20:32 +0000 (13:20 -0700)
commitcb73fb35e5f7c575ed491c0c8e2d2b1a0a22ea2e
treee89c34c5bb21f69c8c0104ba4b679a0a1e28dbce
parent851a9a9c0c9b94e24eb0b3d322e810bb388a81a0
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.

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