OSDN Git Service

ART: Delete catch phis for undefined vregs.
authorDavid Brazdil <dbrazdil@google.com>
Fri, 18 Sep 2015 09:58:32 +0000 (10:58 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 18 Sep 2015 13:14:53 +0000 (14:14 +0100)
commit3eaa32f72b6abd807964134aad4c158946dc92e3
tree003aa2bcd15499c7ebfdc5528b607e23f4f452f0
parent9632d5a5ed8295d63fc82fe418a3b776de4e4459
ART: Delete catch phis for undefined vregs.

SSA builder assumed that (eagerly created) catch phis for undefined
vregs must be dead and will be deleted by dead phi elimination. This,
however, does not hold for --debuggable because the catch phis might
be revived for their environment uses. This patch modifies the builder
to delete the phis itself.

Bug: 24054676
Change-Id: Iaa5f2487ff1c38353b44cb89c709bbff1ecd73cc
compiler/optimizing/graph_checker.cc
compiler/optimizing/ssa_builder.cc