commit | 9f65db89353c46f6b189656f7f55a99054e5cfce | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Thu Jul 07 12:07:42 2016 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Jul 07 13:35:51 2016 +0100 |
tree | 8644957a017c9954372ef73d7bcc457789d294eb | |
parent | f731706af1ce91e9d77f85c36b4dcacce17b7f9b [diff] |
Fix System.arraycopy when doing same array copying. At compile time, if constant source < constant destination, and we don't know if the arrays are the same, then we must emit code that checks if the two arrays are the same. If so, we jump to the slow path. test:610-arraycopy Change-Id: Ida67993d472b0ba4056d9c21c68f6e5239421f7d