Revert "Revert "Have JIT execution take ownership of the LLVMContextRef""

This reverts commit 19adece68b.
This commit is contained in:
Alex Crichton 2013-06-13 21:25:18 -07:00
parent 1a3edecbf2
commit a90fffe367
8 changed files with 89 additions and 61 deletions

View file

@ -45,6 +45,7 @@
#include "llvm/Transforms/Vectorize.h"
#include "llvm-c/Core.h"
#include "llvm-c/BitReader.h"
#include "llvm-c/ExecutionEngine.h"
#include "llvm-c/Object.h"
// Used by RustMCJITMemoryManager::getPointerToNamedFunction()