-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Refactorings for rustc_codegen_ssa #56108
Labels
A-codegen
Area: Code generation
A-cranelift
Things relevant to the [future] cranelift backend
A-gcc
Things relevant to the [future] GCC backend
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
cc @eddyb |
I agree with all of these. There are also comments on #55627 that were left unaddressed, to avoid bitrot, that could be done now. |
bors
added a commit
that referenced
this issue
Dec 2, 2018
Refactor rustc_codegen_ssa cc #56108 (not all things are done yet) This removes an unsafe method from cg_ssa. r? @eddyb cc @sunfishcode
jonas-schievink
added
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
A-codegen
Area: Code generation
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Jan 27, 2019
@rustbot modify labels:+A-cranelift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-codegen
Area: Code generation
A-cranelift
Things relevant to the [future] cranelift backend
A-gcc
Things relevant to the [future] GCC backend
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is a list of things I noticed in
rustc_codegen_{utils,ssa}
which I did like to be changed.rustc_codegen_ssa
.debuginfo_disabled_message
andshould_be_ignored_message
intoas_ref
.Cell
from the fieldsource_locations_enabled
and adapt several functions to take a mutable reference toFunctionDebugContext{,Data}
instead.Edit:
Context
is not used insiderustc_codegen_ssa
https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/traits/type_/trait.BaseTypeMethods.htmlhttps://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/context/struct.CodegenCx.html#method.set_struct_body Why isset_struct_body
even a thing?Edit: update for current status
The text was updated successfully, but these errors were encountered: