summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-06-24 12:07:18 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2015-06-26 11:27:16 +0200
commitc8e7fdcfb20a2c9bf7345c998b2a2a4c174c4ebc (patch)
treee88dfa131bb7701786e788c259853d6207800595 /test/files/jvm
parentf50973159fb7a080d91f464a5fe0a1119ea330e6 (diff)
downloadscala-c8e7fdcfb20a2c9bf7345c998b2a2a4c174c4ebc.tar.gz
scala-c8e7fdcfb20a2c9bf7345c998b2a2a4c174c4ebc.tar.bz2
scala-c8e7fdcfb20a2c9bf7345c998b2a2a4c174c4ebc.zip
Default to delambdafy:method and backend:GenBCode
Switch the defaults of `-Ydelambdafy` and `-Ybackend`. Rewrite t6288b-jump-position test - no more icode Don't crash GenBCode beyond JVM code size limits A similar patch is in GenASM, see 3fa2c97 Fix check files for GenBCode / delambdafy:method defaults Force copy propagation test to ASM, see SI-9364 Force inline-ex-handlers test to GenASM, see SI-9364 Move t6613 test to pending - still broken in GenBCode Adding a `flags` file with `-Ybackend:GenASM` doesn't seem to have the desired effect. SI-6613 is re-opened. Force a few tests to GenASM, see SI-9364
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/innerClassAttribute.check4
-rw-r--r--test/files/jvm/javaReflection.check4
-rw-r--r--test/files/jvm/t9105.check4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/files/jvm/innerClassAttribute.check b/test/files/jvm/innerClassAttribute.check
index 41448f359b..7c697f9053 100644
--- a/test/files/jvm/innerClassAttribute.check
+++ b/test/files/jvm/innerClassAttribute.check
@@ -1,4 +1,4 @@
-#partest !-Ydelambdafy:method
+#partest -Ydelambdafy:inline
-- A4 --
A4$$anonfun$f$1 / null / null / 17
A4$$anonfun$f$1 / null / null / 17
@@ -35,7 +35,7 @@ A20 / null / null
A20$$anonfun$4 / null / null
A20$$anonfun$4 / null / null
A20$$anonfun$4$$anonfun$apply$2 / null / null
-#partest -Ydelambdafy:method
+#partest !-Ydelambdafy:inline
-- A4 --
null / null / null
-- A19 --
diff --git a/test/files/jvm/javaReflection.check b/test/files/jvm/javaReflection.check
index 8180ecff8a..83518c7990 100644
--- a/test/files/jvm/javaReflection.check
+++ b/test/files/jvm/javaReflection.check
@@ -1,4 +1,4 @@
-#partest !-Ydelambdafy:method
+#partest -Ydelambdafy:inline
A$$anonfun$$lessinit$greater$1 / null (canon) / $anonfun$$lessinit$greater$1 (simple)
- declared cls: List()
- enclosing : null (declaring cls) / class A (cls) / public A(int) (constr) / null (meth)
@@ -39,7 +39,7 @@ AT$$anonfun$6 / null (canon) / $anonfun$6 (simple)
- declared cls: List()
- enclosing : null (declaring cls) / interface AT (cls) / null (constr) / null (meth)
- properties : true (local) / false (member)
-#partest -Ydelambdafy:method
+#partest !-Ydelambdafy:inline
A$D$lambda$1 / A$D$lambda$1 (canon) / A$D$lambda$1 (simple)
- declared cls: List()
- enclosing : null (declaring cls) / null (cls) / null (constr) / null (meth)
diff --git a/test/files/jvm/t9105.check b/test/files/jvm/t9105.check
index 34750833f1..48439ee004 100644
--- a/test/files/jvm/t9105.check
+++ b/test/files/jvm/t9105.check
@@ -1,4 +1,4 @@
-#partest !-Ydelambdafy:method
+#partest -Ydelambdafy:inline
(class C$$anonfun$1$A$1,class C$$anonfun$1,null)
(class C$$anonfun$1$B$1,class C$$anonfun$1,private final java.lang.Object C$$anonfun$1.m$1())
(class C$$anonfun$1$C$1,class C$$anonfun$1,null)
@@ -7,7 +7,7 @@
(class C$$anonfun$met$1$F$1,class C$$anonfun$met$1,private final java.lang.Object C$$anonfun$met$1.m$2())
(class C$$anonfun$met$1$G$1,class C$$anonfun$met$1,null)
(class C$$anonfun$met$1$$anonfun$3$H$1,class C$$anonfun$met$1$$anonfun$3,null)
-#partest -Ydelambdafy:method
+#partest !-Ydelambdafy:inline
(class C$A$1,class C,null)
(class C$B$1,class C,private final java.lang.Object C.m$1())
(class C$C$1,class C,null)