Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Dead-code eliminate unused boxes runtime methods#4142

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
lolgab wants to merge1 commit intoscala-native:main
base:main
Choose a base branch
Loading
fromlolgab:boxes-runtime-reach

Conversation

@lolgab
Copy link
Contributor

scala.scalanative.runtime.Boxes andscala.runtime.BoxesRunTime were kept regardless of usage.
This treats them as any other object by reaching their methods when anir.Op.Box ornir.Op.Unbox operation happens.

He-Pin reacted with thumbs up emoji
`scala.scalanative.runtime.Boxes` and `scala.runtime.BoxesRunTime`were kept regardless of usage.This treats them as any other object by reaching their methods whena `nir.Op.Box` or `nir.Op.Unbox` operation happens.
@lolgablolgab changed the titleDead-code eliminate unused boxes runtime methods[WIP] Dead-code eliminate unused boxes runtime methodsJan 3, 2025
@lolgab
Copy link
ContributorAuthor

It is harder than I thought since we materializeBoxes calls after the first Reach phase (sometimes after the second) and checking fornir.Op.Box/Unbox is not enough to cover all the cases.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@lolgab

[8]ページ先頭

©2009-2025 Movatter.jp