OSDN Git Service

ART: Fix removing a Phi with RemoveInstruction
authorDavid Brazdil <dbrazdil@google.com>
Mon, 27 Apr 2015 12:28:57 +0000 (13:28 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Mon, 27 Apr 2015 14:16:04 +0000 (15:16 +0100)
commit2b1c622d5db941fe06b3ea9c1a5366358fa298c6
tree72c4e971ece27b9fba7ea5093a8f58074b59d43d
parent9e03c1b9474084b73c92ebf3c6fa43de8e2fa91c
ART: Fix removing a Phi with RemoveInstruction

Boolean simplifier might attempt to remove a Phi from the Instruction
list.

(cherry picked from commit c7508e93fa3df3a3890f6b62550cbd5e35bdd8df)

Change-Id: Ic8ad31967aa3e47c1fb1c67553d08681b6063a16
compiler/optimizing/boolean_simplifier.cc
compiler/optimizing/nodes.cc
compiler/optimizing/nodes.h
test/481-regression-phi-cond/expected.txt [new file with mode: 0644]
test/481-regression-phi-cond/info.txt [new file with mode: 0644]
test/481-regression-phi-cond/src/Main.java [new file with mode: 0644]