diff options
author | Sébastien Doeraene <sjrdoeraene@gmail.com> | 2016-04-13 11:07:01 +0200 |
---|---|---|
committer | Sébastien Doeraene <sjrdoeraene@gmail.com> | 2016-04-13 11:07:01 +0200 |
commit | 00050c6bd06928b045e583c7f15f1223faf6fbee (patch) | |
tree | 3e308ba580a1e95599c278533d82b28025a197e8 /tools/scaladoc-diff | |
parent | d6f66ec0f38e42c19f79cbe9d32d29c65dee1e05 (diff) | |
download | scala-00050c6bd06928b045e583c7f15f1223faf6fbee.tar.gz scala-00050c6bd06928b045e583c7f15f1223faf6fbee.tar.bz2 scala-00050c6bd06928b045e583c7f15f1223faf6fbee.zip |
Inline ArrayRuntime methods in ScalaRunTime.array_clone().
Support for Array[T].clone() was introduced in
36ef60e68c03bc1c7fd2e910ae7d70d4ec32d3bf. At the time, all
calls to array.clone() were redirected to
ScalaRunTime.array_clone(), which meant that array_clone()
itself could not be implemented in terms of `x.clone()`. A
Java binding was necessary.
Now, the rewriting to `array_clone()` is only done for
unbounded generic arrays. Since all the calls within
`array_clone()` are monomorphic arrays, the rewriting is not
applied, and the Java binding is unnecessary.
Diffstat (limited to 'tools/scaladoc-diff')
0 files changed, 0 insertions, 0 deletions