diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/bindings/ocaml/executionengine/Makefile | 2 | ||||
-rw-r--r-- | llvm/bindings/ocaml/executionengine/executionengine_ocaml.c | 2 | ||||
-rw-r--r-- | llvm/include/llvm-c/ExecutionEngine.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/llvm/bindings/ocaml/executionengine/Makefile b/llvm/bindings/ocaml/executionengine/Makefile index 5fa3f22048f..f58b3b751e1 100644 --- a/llvm/bindings/ocaml/executionengine/Makefile +++ b/llvm/bindings/ocaml/executionengine/Makefile @@ -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 diff --git a/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c b/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c index 4b44a91066f..4896c74121b 100644 --- a/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c +++ b/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c @@ -27,7 +27,7 @@ /* Force the LLVM interpreter and JIT to be linked in. */ void llvm_initialize(void) { LLVMLinkInInterpreter(); - LLVMLinkInJIT(); + LLVMLinkInMCJIT(); } /* unit -> bool */ diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h index 7cdf0d78d5b..f1f4cadec34 100644 --- a/llvm/include/llvm-c/ExecutionEngine.h +++ b/llvm/include/llvm-c/ExecutionEngine.h @@ -34,7 +34,6 @@ extern "C" { * @{ */ -void LLVMLinkInJIT(void); void LLVMLinkInMCJIT(void); void LLVMLinkInInterpreter(void); |