Skip to content

Refactor the common query providers. #6

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

Closed
wants to merge 1 commit into from
Closed

Conversation

gabi-250
Copy link
Owner

This PR just moves provide and provide_extern to src/librustc_codegen_util/base.rs.

Move the `provide` and `provide_extern` functions from
`src/librustc_codegen_llvm/base.rs` to `src/librustc_codegen_util/base.rs`, so
they can be reused in the iron-ox backend. In particular, the
`collect_and_partition_mono_items`, `is_codegened_item`, and `codegen_unit`
queries provided by `provide` are needed by iron-ox
@gabi-250
Copy link
Owner Author

I'm closing this because I will be working on ironox-codegen, which branches off of the refactoring from this PR.

@gabi-250 gabi-250 closed this Oct 26, 2018
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.

2 participants