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 (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!
This commit is contained in:
bors 2014-01-29 23:46:26 -08:00
commit e3b1f3c443
8 changed files with 26 additions and 16 deletions

View file

@ -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));
}