Skip to content
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

Allow IRPass to only access CompilerContext #8281

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented Nov 10, 2023

Pull Request Description

Right now the IRPass can access whole Compiler with all its functionality. That's an overkill. IRPass shall only query the environment - e.g. it should (just like Compiler itself) only access CompilerContext.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • All code follows the
    Scala,
    Java,
    style guides.
  • All code has been tested:
    • Existing unit tests continue to pass

@JaroslavTulach JaroslavTulach merged commit 94aa58e into develop Nov 13, 2023
32 of 34 checks passed
@JaroslavTulach JaroslavTulach deleted the wip/jtulach/IRPassUsesCompilerContext_6100 branch November 13, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants