commit | 0259c24f5e83ab69b259245b645076b864b2e2ca | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Dec 04 11:27:47 2017 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Dec 04 11:52:21 2017 +0000 |
tree | 20a12e5d7ac9c1bcbf8f4524583f016a53ae34ca | |
parent | dc93cac66f1db225474cec5bf0350fd7a148085e [diff] |
Fix a bug in String.charAt() simplification. Do not pass method index as a bool flag indicating that the HBoundsCheck originates from a String.charAt(). This was working only thanks to the method index unlikely to be 0. This bug was introduced in https://android-review.googlesource.com/321573 . Test: Rely on TreeHugger. Bug: 30933338 Change-Id: I2a51e478ee145d342af8cd49f9fdec7adffd77ff