Skip to content

Default to delambdafy:method and backend:GenBCode #4580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2015
Merged

Conversation

lrytz
Copy link
Member

@lrytz lrytz commented Jun 24, 2015

Swtich the defaults of -Ydelambdafy and -Ybackend.

@scala-jenkins scala-jenkins added this to the 2.12.0-M2 milestone Jun 24, 2015
@lrytz
Copy link
Member Author

lrytz commented Jun 24, 2015

failures expected, will require a rebase once #4578 gets merged.

@adriaanm adriaanm mentioned this pull request Jun 24, 2015
@@ -224,7 +224,7 @@ trait ScalaSettings extends AbsScalaSettings

val exposeEmptyPackage = BooleanSetting("-Yexpose-empty-package", "Internal only: expose the empty package.").internalOnly()
// the current standard is "inline" but we are moving towards "method"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment is out of date now, I'd just remove it.

@lrytz
Copy link
Member Author

lrytz commented Jun 25, 2015

Test suite finished with 19 cases failing

looking into those today

@lrytz
Copy link
Member Author

lrytz commented Jun 25, 2015

@retronym there's a number of tests that need to be rewritten, for example those using IcodeComparison (no more icode). In the interest of not getting blocked on this PR, I propose to move those that need rewriting to pending. wdyt? I'll continue working on them today / tomorrow.

@retronym
Copy link
Member

That's fine with me. Let's remind ourselves with a blocker ticket for m3

@lrytz
Copy link
Member Author

lrytz commented Jun 25, 2015

@retronym fixed the tests. The commit here is a squashed version of this: https://github.com/scala/scala/compare/2.12.x...lrytz:defaultsWip?expand=1

lrytz added 2 commits June 26, 2015 11:27
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
It was fixed in GenASM in 44807a7.
@retronym
Copy link
Member

LGTM

lrytz added a commit that referenced this pull request Jun 26, 2015
Default to delambdafy:method and backend:GenBCode
@lrytz lrytz merged commit d90d8b8 into scala:2.12.x Jun 26, 2015
@lrytz lrytz deleted the defaults branch July 2, 2015 11:09
@adriaanm adriaanm added 2.12 and removed 2.12 labels Oct 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants