commit | 1ae88747200931a0feaacf3d17a926c5abf70593 | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Mon Mar 14 14:11:26 2016 -0700 |
committer | Aart Bik <ajcbik@google.com> | Mon Mar 14 15:58:50 2016 -0700 |
tree | 45d3adb01123d2c39821c80bbb2cc207f5801f9c | |
parent | 0b2c1922cc29a7939f747f60d80240a9fb22547c [diff] |
Fixed bug in BCE, with regression test. The fix is twofold: (1) Ensure that bound checks are never eliminated more than once to guard against any conceivable situation in which the same bounds check appears multiple times in array length use list. (2) Specially reject BoundsCheck(x,x) since that always goes OOB. BUG=27628526 Change-Id: I399ec4254323e0cfcd0a68898f403cfab7b35135