summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/pretty_printer_test.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2015-02-02 15:23:05 +0000
committerDavid Brazdil <dbrazdil@google.com>2015-02-02 17:58:02 +0000
commit852eaffe8e478186e134d88a02843a469118ef8c (patch)
treefa00068edc1391698af4d771430578fccd9dcd77 /compiler/optimizing/pretty_printer_test.cc
parente5deafe9cdd81238c3916b04301ea884c93f46b5 (diff)
downloadart-852eaffe8e478186e134d88a02843a469118ef8c.zip
art-852eaffe8e478186e134d88a02843a469118ef8c.tar.gz
art-852eaffe8e478186e134d88a02843a469118ef8c.tar.bz2
No SuspendChecks when branching to return block
The return basic block is usually placed at the beginning of the DEX file, making the branches to it back edges where the Optimizing's graph builder places SuspendCheck instructions, only to be removed later by the instruction_simplifier pass. Since huge auto-generated methods tend to contain hundreds/thousands of these, this patch recognizes the pattern and prevents builder from generating the redundant check in the first place. Change-Id: I065a3c2f71964b8fc2e53dc20730ba42938b78a1
Diffstat (limited to 'compiler/optimizing/pretty_printer_test.cc')
0 files changed, 0 insertions, 0 deletions