diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-04-22 12:01:45 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-04-22 14:49:02 -0400 |
| commit | 9eb1479746224625f95b9b76379d18ac1cb72355 (patch) | |
| tree | 05c5dcbfd52a28e461c5272bb6f17c215b6dffda /src/rustllvm/RustWrapper.cpp | |
| parent | rustc: Add a fast path when the types to be unified are exactly equal (diff) | |
| download | rust-9eb1479746224625f95b9b76379d18ac1cb72355.tar.xz rust-9eb1479746224625f95b9b76379d18ac1cb72355.zip | |
Dispose the module.
Thanks to brson for noticing it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index ad702555..3673231f 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -70,5 +70,6 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M, bool foo = Target.addPassesToEmitFile(*PM, FOS, FileType2, OLvl, NoVerify); assert(!foo); + (void)foo; PM->run(*unwrap(M)); } |