commit | fb6c90a1d7c8333c74c09f64f7eb2f402c3ea002 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri May 06 15:52:12 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri May 06 16:44:21 2016 +0100 |
tree | 2691bce9968c15b2db5357448a96ec975c04a1b6 | |
parent | af3ec0a7d3428d02492dd41ecf19bc33e6807828 [diff] |
Improve String.indexOf() intrinsics. If the code point input is a char, we don't need the slow path. Also improve the slow-path check (if we do need it) on arm and arm64 to avoid loading 0xffff into a register. Bug: 28330359 Change-Id: Ie6514c16126717bb0b11e3c7ab2b60eaa70fed4c