Fix the ocaml bindings.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 7 Aug 2014 14:48:13 +0000 (14:48 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 7 Aug 2014 14:48:13 +0000 (14:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215117 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/executionengine/Makefile
bindings/ocaml/executionengine/executionengine_ocaml.c
include/llvm-c/ExecutionEngine.h

index 5fa3f22048f490da429f7648dff24fc5abec07d5..f58b3b751e1f7aefa52aec245dd85abeda7abe4f 100644 (file)
@@ -13,7 +13,7 @@
 
 LEVEL := ../../..
 LIBRARYNAME := llvm_executionengine
-UsedComponents := executionengine jit interpreter native
+UsedComponents := executionengine mcjit interpreter native
 UsedOcamlInterfaces := llvm llvm_target
 
 include ../Makefile.ocaml
index 4b44a91066fe68ad7cced3013093e514e83a60f3..4896c74121bb5b660447f4580510cfe51251d067 100644 (file)
@@ -27,7 +27,7 @@
 /* Force the LLVM interpreter and JIT to be linked in. */
 void llvm_initialize(void) {
   LLVMLinkInInterpreter();
-  LLVMLinkInJIT();
+  LLVMLinkInMCJIT();
 }
 
 /* unit -> bool */
index 7cdf0d78d5b6e07f0a41696ab7a34b11dae2a3c3..f1f4cadec3488c551df8addfcb8a2db6ba5510c3 100644 (file)
@@ -34,7 +34,6 @@ extern "C" {
  * @{
  */
 
-void LLVMLinkInJIT(void);
 void LLVMLinkInMCJIT(void);
 void LLVMLinkInInterpreter(void);