commit | 0debae7bc89eb05f7a2bf7dccd223318fad7c88d | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Thu Nov 12 18:37:00 2015 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Tue Nov 17 15:12:00 2015 +0000 |
tree | 3da9656dc77d271b12c1b02793e7d713ae3da790 | |
parent | 991842a5273d20695dd5f35eb9a9e28c386c5b4b [diff] |
ART: Refactor GenerateTestAndBranch Each code generator implements a method for generating condition evaluation and branching to arbitrary labels. This patch refactors it for better clarity but also to generate fewer jumps when the true branch is the fallthrough successor. This is preliminary work for implementing HSelect. Change-Id: Iaa545a5ecbacb761c5aa241fa69140cf6eb5952f