Skip to content

Commit f6a7e92

Browse files
committed
---
yaml --- r: 2199 b: refs/heads/master c: 9eb1479 h: refs/heads/master i: 2197: 385683d 2195: a326e0c 2191: db015c0 v: v3
1 parent 9efe439 commit f6a7e92

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 106f783b33f64cfc364b7aa2e5f57bcd07e9bfb8
2+
refs/heads/master: 9eb1479746224625f95b9b76379d18ac1cb72355

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7066,6 +7066,7 @@ fn run_passes(ModuleRef llmod, bool opt, bool verify, str output,
70667066
_str.buf(x86.get_target_triple()),
70677067
_str.buf(output),
70687068
FileType);
7069+
llvm.LLVMDisposeModule(llmod);
70697070
ret;
70707071
}
70717072

trunk/src/rustllvm/RustWrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M,
7070

7171
bool foo = Target.addPassesToEmitFile(*PM, FOS, FileType2, OLvl, NoVerify);
7272
assert(!foo);
73+
(void)foo;
7374
PM->run(*unwrap(M));
7475
}

0 commit comments

Comments
 (0)