OSDN Git Service

ART: Store and check exceptional predecessors
authorDavid Brazdil <dbrazdil@google.com>
Wed, 29 Jul 2015 09:31:29 +0000 (10:31 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Thu, 30 Jul 2015 16:02:41 +0000 (17:02 +0100)
commitb618adebbc19e50d7b1aa2f11b84341beb3c64dc
tree02338a5656bb8a21b742f6506ce92a07d4a8162a
parent7b926cdacc2b67241bc9cb5f2d4b04b13ca79d0e
ART: Store and check exceptional predecessors

Future CL on register allocation for try/catch will require the
knowledge of instructions which throw into a catch block. This patch
stores that information with the basic block and verifies it in the
graph checker.

More checks on try catch also added to the graph checker and an order
of exception handlers is enforced in TryBoundary successors.

Change-Id: I3034c610791ea51d96724bcca97f49ec6ecf2af3
compiler/optimizing/graph_checker.cc
compiler/optimizing/nodes.cc
compiler/optimizing/nodes.h
compiler/optimizing/ssa_builder.cc