OSDN Git Service

ART: Fix bug in DeadPhiHandling
authorDavid Brazdil <dbrazdil@google.com>
Thu, 17 Sep 2015 15:47:21 +0000 (16:47 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Mon, 21 Sep 2015 15:44:00 +0000 (16:44 +0100)
commitb701315cb7c4dfe907c27c24c819b7a14141fd2e
tree0bb83a5d10c6de112a3b105335d19b06987fc423
parent9e30c0e177adabaaf94a66c91130a19a7632fc7c
ART: Fix bug in DeadPhiHandling

When reviving dead phis for --debuggable, the DeadPhiHandling algorithm
could produce two phis of the same type, which causes the SSAChecker
graph verifier to fail. This patch fixes the bug.

Note that the code is currently not exercised because compilation is
delegated to Quick for --debuggable.

Bug: 24129675
Change-Id: I26b6dcf3071b325cc7871b989a36c505279ae681
compiler/optimizing/ssa_builder.cc
test/531-regression-debugphi/expected.txt [new file with mode: 0644]
test/531-regression-debugphi/info.txt [new file with mode: 0644]
test/531-regression-debugphi/smali/TestCase.smali [new file with mode: 0644]
test/531-regression-debugphi/src/Main.java [new file with mode: 0644]