diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-06 14:15:28 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-06 14:15:28 +0100 |
commit | 46fc45e62a1f4ae5a17f5abcb346ff49cff5a7ea (patch) | |
tree | 40d43067ae2b17417b0d5bcb1d3cf49b9192edb2 /test/files/instrumented/t6611.scala | |
parent | ed3709a5dfd84f073a9a99e43418f693adbac07c (diff) | |
download | scala-46fc45e62a1f4ae5a17f5abcb346ff49cff5a7ea.tar.gz scala-46fc45e62a1f4ae5a17f5abcb346ff49cff5a7ea.tar.bz2 scala-46fc45e62a1f4ae5a17f5abcb346ff49cff5a7ea.zip |
Revert "Expand optimization of Array(e1, ..., en) to primitive arrays."
This reverts commit 8265175ecc42293997d59049f430396c77a2b891.
Diffstat (limited to 'test/files/instrumented/t6611.scala')
-rw-r--r-- | test/files/instrumented/t6611.scala | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/test/files/instrumented/t6611.scala b/test/files/instrumented/t6611.scala index 4c52f8a5ef..821d5f3fbf 100644 --- a/test/files/instrumented/t6611.scala +++ b/test/files/instrumented/t6611.scala @@ -5,29 +5,7 @@ object Test { startProfiling() // tests optimization in Cleanup for varargs reference arrays - Array("") - - - Array(true) - Array(true, false) - Array(1: Byte) - Array(1: Byte, 2: Byte) - Array(1: Short) - Array(1: Short, 2: Short) - Array(1) - Array(1, 2) - Array(1L) - Array(1L, 2L) - Array(1d) - Array(1d, 2d) - Array(1f) - Array(1f, 2f) - - /* Not currently optimized: - Array[Int](1, 2) etc - Array(()) - Array((), ()) - */ + val a = Array("") stopProfiling() printStatistics() |