diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-06-24 12:07:18 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-06-26 11:27:16 +0200 |
commit | c8e7fdcfb20a2c9bf7345c998b2a2a4c174c4ebc (patch) | |
tree | e88dfa131bb7701786e788c259853d6207800595 /test/files/run/t6288b-jump-position.scala | |
parent | f50973159fb7a080d91f464a5fe0a1119ea330e6 (diff) | |
download | scala-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/t6288b-jump-position.scala')
-rw-r--r-- | test/files/run/t6288b-jump-position.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/files/run/t6288b-jump-position.scala b/test/files/run/t6288b-jump-position.scala deleted file mode 100644 index c5f3bbe788..0000000000 --- a/test/files/run/t6288b-jump-position.scala +++ /dev/null @@ -1,19 +0,0 @@ -import scala.tools.partest.IcodeComparison - -object Test extends IcodeComparison { - override def code = - """object Case3 { // 01 - | def unapply(z: Any): Option[Int] = Some(-1) // 02 - | def main(args: Array[String]) { // 03 - | ("": Any) match { // 04 - | case x : String => // 05 Read: <linenumber> JUMP <target basic block id> - | println("case 0") // 06 expecting "6 JUMP 7", was "8 JUMP 7" - | case _ => // 07 - | println("default") // 08 expecting "8 JUMP 7" - | } // 09 - | println("done") // 10 - | } - |}""".stripMargin - - override def show() = showIcode() -} |