summaryrefslogtreecommitdiff
path: root/test/files/run/t6955.scala
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/run/t6955.scala
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/run/t6955.scala')
-rw-r--r--test/files/run/t6955.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t6955.scala b/test/files/run/t6955.scala
index 329af688e4..9ee3ef6bc5 100644
--- a/test/files/run/t6955.scala
+++ b/test/files/run/t6955.scala
@@ -21,6 +21,8 @@ class Switches {
}
object Test extends IcodeComparison {
+ override def extraSettings: String = super.extraSettings + " -Ybackend:GenASM"
+
// ensure we get two switches out of this -- ignore the rest of the output for robustness
// exclude the constant we emit for the "SWITCH ..." string below (we get the icode for all the code you see in this file)
override def show() = {