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/t2106.check | |
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/t2106.check')
-rw-r--r-- | test/files/run/t2106.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t2106.check b/test/files/run/t2106.check index 66a0e707b3..c6457216b5 100644 --- a/test/files/run/t2106.check +++ b/test/files/run/t2106.check @@ -1,10 +1,10 @@ -#partest -Ybackend:GenBCode +#partest !-Ybackend:GenASM t2106.scala:7: warning: A::foo()Ljava/lang/Object; is annotated @inline but could not be inlined: The callee A::foo()Ljava/lang/Object; contains the instruction INVOKEVIRTUAL java/lang/Object.clone ()Ljava/lang/Object; that would cause an IllegalAccessError when inlined into class Test$. def main(args: Array[String]): Unit = x.foo ^ -#partest !-Ybackend:GenBCode +#partest -Ybackend:GenASM t2106.scala:7: warning: Could not inline required method foo because access level required by callee not matched by caller. def main(args: Array[String]): Unit = x.foo ^ |