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

Compiler: Move LLVMId from CodeGenVisitor to Program #7973

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

bcardiff
Copy link
Member

This will allow accessing the type-id's of the program across the different LLVMTyper instances that already have a reference to the program.

It is also a more reasonable place for the LLVMId instance since they are expected to be scoped to the whole program.

@bcardiff bcardiff added this to the 0.30.0 milestone Jul 17, 2019
@bcardiff bcardiff merged commit 566187e into crystal-lang:master Jul 17, 2019
@bcardiff bcardiff deleted the compiler/program-llvmid branch July 17, 2019 23:49
dnamsons pushed a commit to dnamsons/crystal that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants