about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-29 23:46:26 -0800
committerbors <bors@rust-lang.org>2014-01-29 23:46:26 -0800
commite3b1f3c443c048913e2d573fcc5a9c2be3484a78 (patch)
tree36925f01ccfcbb10a8a7738b27de7c545740e65d /src/rustllvm/PassWrapper.cpp
parent056363ff362231c6e78543290bbc5c151b899f3d (diff)
parent8cd935f52a9af8620f608e1baad94282f038a864 (diff)
downloadrust-e3b1f3c443c048913e2d573fcc5a9c2be3484a78.tar.gz
rust-e3b1f3c443c048913e2d573fcc5a9c2be3484a78.zip
auto merge of #11853 : alexcrichton/rust/up-llvm, r=brson
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 2bc96d9f0bf..08c17093d2a 100644
--- a/src/rustllvm/PassWrapper.cpp
+++ b/src/rustllvm/PassWrapper.cpp
@@ -186,7 +186,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));
 }