Remove pass initialization code
This is no longer necessary with the new pass manager.
This commit is contained in:
parent
5983a3a99e
commit
45f694dbba
3 changed files with 0 additions and 22 deletions
|
@ -1814,8 +1814,6 @@ extern "C" {
|
|||
/// Creates a legacy pass manager -- only used for final codegen.
|
||||
pub fn LLVMCreatePassManager<'a>() -> &'a mut PassManager<'a>;
|
||||
|
||||
pub fn LLVMInitializePasses();
|
||||
|
||||
pub fn LLVMTimeTraceProfilerInitialize();
|
||||
|
||||
pub fn LLVMTimeTraceProfilerFinishThread();
|
||||
|
|
|
@ -120,8 +120,6 @@ unsafe fn configure_llvm(sess: &Session) {
|
|||
llvm::LLVMTimeTraceProfilerInitialize();
|
||||
}
|
||||
|
||||
llvm::LLVMInitializePasses();
|
||||
|
||||
rustc_llvm::initialize_available_targets();
|
||||
|
||||
llvm::LLVMRustSetLLVMOptions(llvm_args.len() as c_int, llvm_args.as_ptr());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue