OSDN Git Service

Remove bogus DCHECK in BCE.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 17 Jun 2015 09:17:49 +0000 (10:17 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 17 Jun 2015 09:21:13 +0000 (10:21 +0100)
commit3cde6227678cf62e06bca264671d1e957456ac3d
tree3ed515ca629a83c926980e42de1240e412c6d832
parent088bd0d28acb70302d20f6e19a9db7f0536c09ee
Remove bogus DCHECK in BCE.

When creating a phi for the array length when we add HDeoptimization
nodes, we might update accesses in inner loops to use that phi instead
of the array length. The BCE phase was not expecting this case.

Change-Id: I639f4ea6f5889726142041a42736183f162c7437
compiler/optimizing/bounds_check_elimination.cc
test/499-bce-phi-array-length/expected.txt [new file with mode: 0644]
test/499-bce-phi-array-length/info.txt [new file with mode: 0644]
test/499-bce-phi-array-length/src/Main.java [new file with mode: 0644]