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

Remove ICode (re-submission) #4838

Merged
merged 6 commits into from Nov 10, 2015

Conversation

Projects
None yet
4 participants
@lrytz
Member

lrytz commented Nov 6, 2015

Re-submission of #4830. The first commit is the same, and it LGTM. For the rest, review by @soc.

soc and others added some commits Sep 16, 2015

@scala-jenkins scala-jenkins added this to the 2.12.0-M4 milestone Nov 6, 2015

@lrytz lrytz referenced this pull request Nov 6, 2015

Closed

Remove ICode #4830

lrytz added some commits Nov 6, 2015

Remove the rest of ICodes
The only pieces of ICodes that were still used
  - An enum representing bytecode comparisons, re-implemented
  - The `icodes.IClass` class, which remains for sbt compatibility
    (#4588)
Use BTypes when building the lambdaMetaFactoryBootstrapHandle
All class internal names that are referenced from a class being
compiled should be referenced through their ClassBType. This makes
sure that the ClassBType is cached in `classBTypeFromInternalName`,
which is required during classfile writing: when ASM computes stack
map frames, we need to answer subtyping queries, for which we need
to look up the ClassBTypes.
@lrytz

This comment has been minimized.

Show comment
Hide comment
@lrytz

lrytz Nov 6, 2015

Member

build is green now :)

Member

lrytz commented Nov 6, 2015

build is green now :)

@soc

This comment has been minimized.

Show comment
Hide comment
@soc

soc Nov 6, 2015

Member

@lrytz Wow, great! Thanks for the cleanup, you solved all the stuff that I wasn't sure how/if it can be removed/merged. :-)

Member

soc commented Nov 6, 2015

@lrytz Wow, great! Thanks for the cleanup, you solved all the stuff that I wasn't sure how/if it can be removed/merged. :-)

@lrytz

This comment has been minimized.

Show comment
Hide comment
@lrytz

lrytz Nov 9, 2015

Member

@soc so LGTY? BTW, i was wondering if there were not any other tests that depend on ICode - did you rewrite / move to pending all of them in #4814?

Member

lrytz commented Nov 9, 2015

@soc so LGTY? BTW, i was wondering if there were not any other tests that depend on ICode - did you rewrite / move to pending all of them in #4814?

@soc

This comment has been minimized.

Show comment
Hide comment
@soc

soc Nov 10, 2015

Member

LGTM, sorry. :-) I think most ICode tests were already taken care of in #4814, but there weren't many to begin with ...

Member

soc commented Nov 10, 2015

LGTM, sorry. :-) I think most ICode tests were already taken care of in #4814, but there weren't many to begin with ...

lrytz added a commit that referenced this pull request Nov 10, 2015

Merge pull request #4838 from lrytz/removeIcode
Remove ICode (re-submission)

@lrytz lrytz merged commit 44ae563 into scala:2.12.x Nov 10, 2015

4 checks passed

integrate-ide [563] SUCCESS. Took 8 s.
Details
validate-main [672] SUCCESS. Took 103 min.
Details
validate-publish-core [659] SUCCESS. Took 7 min.
Details
validate-test [543] SUCCESS. Took 89 min.
Details
@lrytz

This comment has been minimized.

Show comment
Hide comment
@lrytz

lrytz Nov 10, 2015

Member

Thanks for your work! I also finished re-writing the disabled tests, but that patch depends on getting #4837 in first, because that cleans up the redundant stores / loads you observed in https://github.com/scala/scala/pull/4814/files#diff-ec86a146d335b3385d7b4046aa4712fc.

Member

lrytz commented Nov 10, 2015

Thanks for your work! I also finished re-writing the disabled tests, but that patch depends on getting #4837 in first, because that cleans up the redundant stores / loads you observed in https://github.com/scala/scala/pull/4814/files#diff-ec86a146d335b3385d7b4046aa4712fc.

@lrytz lrytz deleted the lrytz:removeIcode branch Nov 10, 2015

@adriaanm adriaanm added 2.12.0 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