Open bjorn3 opened 5 years ago
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.
cc @denismerigoux @sunfishcode @michaelwoerister
The following comments from #55627 by @eddyb likely still need to be addressed (none confirmed yet, because of the amount)
@rustbot modify labels:+A-cranelift
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