OSDN Git Service

Quick: Kill unreachable blocks instead of just hiding them.
authorVladimir Marko <vmarko@google.com>
Mon, 8 Dec 2014 15:16:54 +0000 (15:16 +0000)
committerVladimir Marko <vmarko@google.com>
Mon, 8 Dec 2014 15:37:05 +0000 (15:37 +0000)
commitcb873d8fd06b7dde4b69c5987b4eaf541d345a50
tree3e1614c8e57dfd262817512233319dd9ad526754
parent1495a8e6409238bca28a33fd47913e382a85ea79
Quick: Kill unreachable blocks instead of just hiding them.

This changes the block type from kDalvikByteCode to kDead
and properly cleans up predecessors and MIRGraph::catches_.

Bug: 18626174
Change-Id: I268bf68f7947604bcb82caf95ee79c6831ee6e2a
compiler/dex/mir_graph.cc
compiler/dex/mir_graph.h
compiler/dex/ssa_transformation.cc