summary refs log tree commit diff
path: root/src/librustc_codegen_ssa/traits/backend.rs
AgeCommit message (Collapse)AuthorLines
2019-04-30Move metadata encoding earlier.Nicholas Nethercote-3/+4
This commit separates metadata encoding (`tcx.encode_metadata`) from the creation of the metadata module (which is now handled by `write_compressed_metadata`, formerly `write_metadata`). The metadata encoding now occurs slightly earlier in the pipeline, at the very start of code generation within `start_codegen`. Metadata *writing* still occurs near the end of compilation; that will be moved forward in subsequent commits.
2019-03-04Make the lifetime parameters of tcx consistent.Gabriela Alexandra Moldovan-2/+2
2019-02-25librustc_codegen_ssa: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-2/+7
2019-02-20Allow Self::Module to be mutated.Gabriela Alexandra Moldovan-2/+2
`codegen_allocator` and `write_metadata` mutate the underlying LLVM module. As such, it makes sense for these two functions to receive a mutable reference to the module (as opposed to an immutable one).
2019-01-24Implement optimize(size) and optimize(speed)Simonas Kazlauskas-2/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-29Rustfmt on cg_ssa/traitsbjorn3-1/+2
2018-11-29Some refactoringsbjorn3-1/+0
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-0/+66