Use Symbol
for codegen unit names.
This is a straightforward replacement except for two places where we have to convert to `LocalInternedString` to get a stable sort.
This commit is contained in:
parent
dddacf1eb3
commit
2da7a9c0d9
11 changed files with 46 additions and 51 deletions
|
@ -50,7 +50,6 @@ use rustc_codegen_ssa::CompiledModule;
|
|||
use errors::{FatalError, Handler};
|
||||
use rustc::dep_graph::WorkProduct;
|
||||
use syntax_expand::allocator::AllocatorKind;
|
||||
use syntax_pos::symbol::InternedString;
|
||||
pub use llvm_util::target_features;
|
||||
use std::any::Any;
|
||||
use std::sync::Arc;
|
||||
|
@ -123,7 +122,7 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
|
|||
}
|
||||
fn compile_codegen_unit(
|
||||
&self, tcx: TyCtxt<'_>,
|
||||
cgu_name: InternedString,
|
||||
cgu_name: Symbol,
|
||||
tx: &std::sync::mpsc::Sender<Box<dyn Any + Send>>,
|
||||
) {
|
||||
base::compile_codegen_unit(tcx, cgu_name, tx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue