commit | 3a3fd0f8d3981691aa2331077a8fae5feee08dd1 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Oct 10 13:56:31 2014 +0100 |
committer | Roland Levillain <rpl@google.com> | Tue Oct 14 14:44:16 2014 +0100 |
tree | 7fc5bb817010f0b77c109d8c645c7ec4f6b2e467 | |
parent | b8f2480853aeca1db33ed623b9a9b2648954906e [diff] |
Turn constant conditional jumps into unconditional jumps. If a condition (input of an art::HIf instruction) is constant (an art::HConstant object), evaluate it at compile time and generate an unconditional branch instruction if it is true (in lieu of a conditional jump). Change-Id: I262e43ffe66d5c25dbbfa98092a41c8b3c4c75d6