summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-05-26 14:33:38 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2015-05-26 14:47:39 +0200
commit1f5c3f8ba84a8d85502f7f54926b1e220c1b4129 (patch)
tree2c43fa51f501687e0fc07d299dd123c8ef3c898c /test/files/jvm
parentbb302833c7bad6ff7591cdf6d10ec7ffdf683d6a (diff)
downloadscala-1f5c3f8ba84a8d85502f7f54926b1e220c1b4129.tar.gz
scala-1f5c3f8ba84a8d85502f7f54926b1e220c1b4129.tar.bz2
scala-1f5c3f8ba84a8d85502f7f54926b1e220c1b4129.zip
Fix several tests under GenBCode
- private-inline, t8601-closure-elim, inline-in-constructors - test closure inlining / elimination, which is not yet implemented in GenBCode. noted in https://github.com/scala-opt/scala/issues/14. - constant-optimization, t7006 - no constant folding in GenBCode yet. noted in https://github.com/scala-opt/scala/issues/29. - patmat_opt_ignore_underscore, patmat_opt_no_nullcheck, patmat_opt_primitive_typetest - not all optimizations in GenBCode yet. noted in https://github.com/scala-opt/scala/issues/30. - t3234 - tests a warning of trait inlining - trait inlining works in GenBCode - synchronized - ignore inliner warnings (they changed a bit) - t6102 - account for the changed outputo of -Ydebug has under GenBCode
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/constant-optimization/Foo_1.flags2
-rw-r--r--test/files/jvm/patmat_opt_ignore_underscore.flags2
-rw-r--r--test/files/jvm/patmat_opt_no_nullcheck.flags2
-rw-r--r--test/files/jvm/patmat_opt_primitive_typetest.flags2
-rw-r--r--test/files/jvm/t7006/Foo_1.flags2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/files/jvm/constant-optimization/Foo_1.flags b/test/files/jvm/constant-optimization/Foo_1.flags
index 86f52af447..67a1dbe8da 100644
--- a/test/files/jvm/constant-optimization/Foo_1.flags
+++ b/test/files/jvm/constant-optimization/Foo_1.flags
@@ -1 +1 @@
--Ynooptimise -Yconst-opt \ No newline at end of file
+-Ynooptimise -Yconst-opt -Ybackend:GenASM \ No newline at end of file
diff --git a/test/files/jvm/patmat_opt_ignore_underscore.flags b/test/files/jvm/patmat_opt_ignore_underscore.flags
index 1182725e86..2cd4b38726 100644
--- a/test/files/jvm/patmat_opt_ignore_underscore.flags
+++ b/test/files/jvm/patmat_opt_ignore_underscore.flags
@@ -1 +1 @@
--optimize \ No newline at end of file
+-optimize -Ybackend:GenASM \ No newline at end of file
diff --git a/test/files/jvm/patmat_opt_no_nullcheck.flags b/test/files/jvm/patmat_opt_no_nullcheck.flags
index 1182725e86..2cd4b38726 100644
--- a/test/files/jvm/patmat_opt_no_nullcheck.flags
+++ b/test/files/jvm/patmat_opt_no_nullcheck.flags
@@ -1 +1 @@
--optimize \ No newline at end of file
+-optimize -Ybackend:GenASM \ No newline at end of file
diff --git a/test/files/jvm/patmat_opt_primitive_typetest.flags b/test/files/jvm/patmat_opt_primitive_typetest.flags
index 49d036a887..b9bb09167e 100644
--- a/test/files/jvm/patmat_opt_primitive_typetest.flags
+++ b/test/files/jvm/patmat_opt_primitive_typetest.flags
@@ -1 +1 @@
--optimize
+-optimize -Ybackend:GenASM
diff --git a/test/files/jvm/t7006/Foo_1.flags b/test/files/jvm/t7006/Foo_1.flags
index 37b2116413..29a9d424f0 100644
--- a/test/files/jvm/t7006/Foo_1.flags
+++ b/test/files/jvm/t7006/Foo_1.flags
@@ -1 +1 @@
--optimise -Ydebug -Xfatal-warnings
+-optimise -Ydebug -Xfatal-warnings -Ybackend:GenASM