commit | 2846b6810e196a1b25bf2d1b5cbe73dee4a2b286 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Mar 31 09:59:27 2015 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Tue Mar 31 10:33:42 2015 +0100 |
tree | 9be58420c3e9da52ab581357b4106f1d865e5217 | |
parent | c4bd0e6a7f4839ea99222f06979cc2369cb9bf10 [diff] |
ART: General-case negation in boolean simplifier Code transformations on the HGraph may optimize out the condition instruction of an If and replace it with a boolean value. In such case, the boolean simplifier would not know how to negate the condition and would fail. This patch implements negation in this general case with 'equals 0' as a substitute for the non-existing boolean Not instruction. Bug: 19992954 Change-Id: I152036fcc6bbecccc767d3024a5c060177597d88