OSDN Git Service

Do not replace a live phi with a dead phi.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Jun 2015 13:34:46 +0000 (14:34 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Jun 2015 14:02:30 +0000 (14:02 +0000)
commit4230e1895b915a22363452823b0e51eabe92cb60
tree64bce7a4e8e4fcb73d15c1644f54311bd5a04483
parentb485915afd8a6396df7863b651dfe832038fd680
Do not replace a live phi with a dead phi.

A dead phi is not properly typed. Therefore, always use the live phi
equivalent instead.

bug:21865466
Change-Id: Id5e26ae4062cc18f5532d5b95cc024480652d5b2
compiler/optimizing/ssa_builder.cc
test/520-equivalent-phi/expected.txt [new file with mode: 0644]
test/520-equivalent-phi/info.txt [new file with mode: 0644]
test/520-equivalent-phi/smali/Equivalent.smali [new file with mode: 0644]
test/520-equivalent-phi/src/Main.java [new file with mode: 0644]