]> git.lizzy.rs Git - rust.git/commit
Have JIT execution take ownership of the LLVMContextRef
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 May 2013 23:44:50 +0000 (19:44 -0400)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 10 Jun 2013 20:17:04 +0000 (13:17 -0700)
commit5c5095d25e3652c434c8d4ec178e6844877e3c2d
treec43b05c69fa971a2be82bb62b7f814ddcc4aa1b6
parent779191cd4b8719e8efdf69fb6da93e2a8905ca1d
Have JIT execution take ownership of the LLVMContextRef

Also stop leaking the ExecutionEngine created for jit code by forcibly disposing
of it after the JIT code has finished executing
src/librustc/back/link.rs
src/librustc/driver/driver.rs
src/librustc/lib/llvm.rs
src/librustc/middle/trans/base.rs
src/librusti/rusti.rc
src/rustllvm/RustWrapper.cpp
src/rustllvm/rustllvm.def.in
src/rustllvm/rustllvm.h