OSDN Git Service

Fix wrong DCHECK in bounds check elimination.
authorNicolas Geoffray <ngeoffray@google.com>
Sat, 20 Jun 2015 22:49:01 +0000 (23:49 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Sat, 20 Jun 2015 22:49:01 +0000 (23:49 +0100)
commit8d82a0c2b2b12f259ccb357d3b1e699c68ad0400
tree01bf7818062d6832a28d13fdeeccf27012bebb92
parent883ac209066d61404627a8820770755d60068a2b
Fix wrong DCHECK in bounds check elimination.

The lower range of an array length instruction can
be changed by other instructions than HBoundsCheck,
like HNewArray.

bug:21862741
Change-Id: Idbe50ac114287ea6d852fb6fe9f9e2d440d18af5
compiler/optimizing/bounds_check_elimination.cc
test/513-array-deopt/expected.txt [new file with mode: 0644]
test/513-array-deopt/info.txt [new file with mode: 0644]
test/513-array-deopt/src/Main.java [new file with mode: 0644]