about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-27 12:45:48 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-29 23:43:39 -0800
commit8cd935f52a9af8620f608e1baad94282f038a864 (patch)
tree37c3a6ba8a08532e4d23c1d6987af072d98d1b65 /src/rustllvm/PassWrapper.cpp
parentd6d7812da841ddedf6c765eebb655be9866956ce (diff)
downloadrust-8cd935f52a9af8620f608e1baad94282f038a864.tar.gz
rust-8cd935f52a9af8620f608e1baad94282f038a864.zip
Upgrade LLVM
This upgrade brings commit by @eddyb to help optimizations of virtual calls in
a few places (https://github.com/llvm-mirror/llvm/commit/6d2bd95) as well as a
commit by @c-a to *greatly* improve the runtime of the optimization passes
(https://github.com/rust-lang/llvm/pull/3).

Nice work to these guys!
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
-rw-r--r--src/rustllvm/PassWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/PassWrapper.cpp b/src/rustllvm/PassWrapper.cpp
index cab9c187eae..c5a75762fcc 100644
--- a/src/rustllvm/PassWrapper.cpp
+++ b/src/rustllvm/PassWrapper.cpp
@@ -185,7 +185,7 @@ LLVMRustPrintModule(LLVMPassManagerRef PMR,
   std::string ErrorInfo;
   raw_fd_ostream OS(path, ErrorInfo, sys::fs::F_Binary);
   formatted_raw_ostream FOS(OS);
-  PM->add(createPrintModulePass(&FOS));
+  PM->add(createPrintModulePass(FOS));
   PM->run(*unwrap(M));
 }