From 93b95dd394c9c98c9a00bfcbdc0d6c9c8c59762e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 20 Oct 2013 14:46:28 -0400 Subject: [PATCH] fix typo --- src/librustc/back/link.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs index 7028d8c4219..7c2856b7577 100644 --- a/src/librustc/back/link.rs +++ b/src/librustc/back/link.rs @@ -297,7 +297,7 @@ pub fn run_passes(sess: Session, if !sess.no_prepopulate_passes() { llvm::LLVMRustAddAnalysisPasses(tm, fpm, llmod); llvm::LLVMRustAddAnalysisPasses(tm, mpm, llmod); - populate_llvm_passess(fpm, mpm, llmod, OptLevel); + populate_llvm_passes(fpm, mpm, llmod, OptLevel); } for pass in sess.opts.custom_passes.iter() { @@ -422,10 +422,10 @@ unsafe fn configure_llvm(sess: Session) { } } - unsafe fn populate_llvm_passess(fpm: lib::llvm::PassManagerRef, - mpm: lib::llvm::PassManagerRef, - llmod: ModuleRef, - opt: lib::llvm::CodeGenOptLevel) { + unsafe fn populate_llvm_passes(fpm: lib::llvm::PassManagerRef, + mpm: lib::llvm::PassManagerRef, + llmod: ModuleRef, + opt: lib::llvm::CodeGenOptLevel) { // Create the PassManagerBuilder for LLVM. We configure it with // reasonable defaults and prepare it to actually populate the pass // manager.