diff options
author | Roland Levillain <rpl@google.com> | 2014-10-10 13:56:31 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2014-10-14 14:44:16 +0100 |
commit | 3a3fd0f8d3981691aa2331077a8fae5feee08dd1 (patch) | |
tree | 7fc5bb817010f0b77c109d8c645c7ec4f6b2e467 /compiler/compiled_method.h | |
parent | b8f2480853aeca1db33ed623b9a9b2648954906e (diff) | |
download | android_art-3a3fd0f8d3981691aa2331077a8fae5feee08dd1.tar.gz android_art-3a3fd0f8d3981691aa2331077a8fae5feee08dd1.tar.bz2 android_art-3a3fd0f8d3981691aa2331077a8fae5feee08dd1.zip |
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
Diffstat (limited to 'compiler/compiled_method.h')
0 files changed, 0 insertions, 0 deletions