Skip to content

Port tests that force GenASM to GenBCode #9364

@scabug

Description

@scabug

Some tests were forced to GenASM when switching the default backend in 2.12 (scala/scala#4580).
Others already forced GenASM before. All of them should be ported to GenBCode.

Forced during the switch:

  - run/t5313.scala
  - run/delambdafy-specialized.scala
  - run/test-cpp.scala
  - run/inline-ex-handlers.scala
  - run/repl-javap-fun.scala
  - run/t6956.scala
  - run/t6955.scala
  - run/repl-javap-more-fun.scala

Another test was forced to GenASM in scala/scala#4594:

  • run/t6546.scala

In scala/scala#4602, more tests were forced to GenASM:

  • neg/sealed-final-neg.flags
  • pos/inline-access-levels.flags
  • pos/inliner2.flags
  • pos/sealed-final.flags
  • pos/t3420.flags
  • pos/t8410.flags
  • run/constant-optimization.flags
  • run/dead-code-elimination.flags
  • run/elidable-opt.flags
  • run/finalvar.flags
  • run/icode-reader-dead-code.scala
  • run/optimizer-array-load.flags
  • run/synchronized.flags
  • run/t3509.flags
  • run/t3569.flags
  • run/t4285.flags
  • run/t4935.flags
  • run/t5789.scala
  • run/t6188.flags
  • run/t7459b-optimize.flags
  • run/t7582.flags
  • run/t7582b.flags
  • run/t8601.flags
  • run/t8601b.flags
  • run/t8601c.flags
  • run/t8601d.flags
  • run/t8601e.flags
  • run/t9003.flags

A search for "GenASM" in tests/ yields the following tests that were on GenASM already:

test/files/instrumented/inline-in-constructors.flags:
    1: -optimise -Ydelambdafy:inline -Ybackend:GenASM

test/files/jvm/patmat_opt_ignore_underscore.flags:
    1: -optimize -Ybackend:GenASM

test/files/jvm/patmat_opt_no_nullcheck.flags:
    1: -optimize -Ybackend:GenASM

test/files/jvm/patmat_opt_primitive_typetest.flags:
    1: -optimize -Ybackend:GenASM

test/files/jvm/bytecode-test-example/Foo_1.flags:
    1: -Ybackend:GenASM

test/files/jvm/constant-optimization/Foo_1.flags:
    1: -Ynooptimise -Yconst-opt -Ybackend:GenASM

test/files/jvm/nooptimise/Foo_1.flags:
    1: -Ybackend:GenASM -optimise -Ynooptimise

test/files/jvm/t7006/Foo_1.flags:
    1: -optimise -Ydebug -Xfatal-warnings -Ybackend:GenASM

test/files/neg/case-collision.flags:
    1: -Ybackend:GenASM -Xfatal-warnings

test/files/neg/t3234.flags:
    1: -Yinline -Yinline-warnings -Xfatal-warnings -Ybackend:GenASM

test/files/run/private-inline.flags:
    1: -optimise -Yinline-warnings -Ybackend:GenASM

test/files/run/t7008-scala-defined.flags:
    1: -Ybackend:GenASM

test/files/run/t8601-closure-elim.flags:
    1: -optimize -Ydelambdafy:inline -Ybackend:GenASM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions