commit | 66d1aeefed5b7af9e0682b2f298390b86b18e657 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Jul 23 11:59:01 2013 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Tue Jul 23 11:59:01 2013 +0200 |
tree | 9cfd927890f0f5ece91e6cfbab5ba435e97a10e0 | |
parent | 08524597899d0bb021c9165218deff51dc88da50 [diff] |
Unsigned comparison for array bounds check. The interpreter calls Array::IsValidIndex for aget/aput instructions. Instead of doing two signed comparisons, we now do one unsigned comparison. The Quick and Portable compilers already do this. Change-Id: I635a1a3cc8a793fd2ceaf1432d3b3f712d8e85bf