OSDN Git Service

Fix bug in dynamic BCE. With regression test.
authorAart Bik <ajcbik@google.com>
Tue, 18 Oct 2016 18:35:22 +0000 (11:35 -0700)
committerAart Bik <ajcbik@google.com>
Wed, 19 Oct 2016 17:30:35 +0000 (10:30 -0700)
commit12a1060d7cf3947b5bf540a9803878985b21587f
tree14e7f263e4a3bf0f10e11fdfd4a982000fe14786
parent63104356aac6511791cf0d7c18b628a558f357e1
Fix bug in dynamic BCE. With regression test.

Rationale:
We implicitly assumed anything on a fixed offset to a suitable
candidate could be picked for codegen. Although this is usually
true, the scanner found an exception (on types). So, it is best
to make the test explicit. Note: some type implications are TBD.

Bug:32193474

Test: test-art-host and offending APKs
Change-Id: I664a2caa97a7f231509f8832b940dd72da11a372
compiler/optimizing/bounds_check_elimination.cc
test/530-checker-loops2/src/Main.java