OSDN Git Service

ART: Refactor iteration over normal/exceptional successors
authorDavid Brazdil <dbrazdil@google.com>
Tue, 10 Nov 2015 11:07:31 +0000 (11:07 +0000)
committerDavid Brazdil <dbrazdil@google.com>
Tue, 10 Nov 2015 18:28:21 +0000 (18:28 +0000)
commitd26a411adee1e71b3f09dd604ab9b23018037138
tree7e9267d50fb0a9bcd6b14a97653c8e0baf91a575
parent8a6463a7052ec69e7c0b94a65b26807f570e6359
ART: Refactor iteration over normal/exceptional successors

Add helper methods on HBasicBlock which return ArrayRef with the
suitable sub-array of the `successors_` list.

Change-Id: I66c83bb56f2984d7550bf77c48110af4087515a8
compiler/optimizing/graph_checker.cc
compiler/optimizing/graph_visualizer.cc
compiler/optimizing/nodes.cc
compiler/optimizing/nodes.h
compiler/optimizing/register_allocator.cc
compiler/optimizing/ssa_builder.cc