about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-20 21:11:19 -0700
committerbors <bors@rust-lang.org>2013-10-20 21:11:19 -0700
commitcd59a7c464811e164f3a1c87d8fa31fdaa5fbafa (patch)
treed3840c6a29ba7f1a90aba69c1a57194896fadfac
parent69860b79b8f4882426fb5755c6d00e6717adeb38 (diff)
parent93b95dd394c9c98c9a00bfcbdc0d6c9c8c59762e (diff)
downloadrust-cd59a7c464811e164f3a1c87d8fa31fdaa5fbafa.tar.gz
rust-cd59a7c464811e164f3a1c87d8fa31fdaa5fbafa.zip
auto merge of #9976 : thestinger/rust/typo, r=thestinger
-rw-r--r--src/librustc/back/link.rs10
1 files 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 mod write {
             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 @@ pub mod write {
         }
     }
 
-    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.