[llvm] r215117 - Fix the ocaml bindings.
Rafael Espindola
rafael.espindola at gmail.com
Thu Aug 7 07:48:13 PDT 2014
Author: rafael
Date: Thu Aug 7 09:48:13 2014
New Revision: 215117
URL: http://llvm.org/viewvc/llvm-project?rev=215117&view=rev
Log:
Fix the ocaml bindings.
Modified:
llvm/trunk/bindings/ocaml/executionengine/Makefile
llvm/trunk/bindings/ocaml/executionengine/executionengine_ocaml.c
llvm/trunk/include/llvm-c/ExecutionEngine.h
Modified: llvm/trunk/bindings/ocaml/executionengine/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/executionengine/Makefile?rev=215117&r1=215116&r2=215117&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/executionengine/Makefile (original)
+++ llvm/trunk/bindings/ocaml/executionengine/Makefile Thu Aug 7 09:48:13 2014
@@ -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
Modified: llvm/trunk/bindings/ocaml/executionengine/executionengine_ocaml.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/executionengine/executionengine_ocaml.c?rev=215117&r1=215116&r2=215117&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/executionengine/executionengine_ocaml.c (original)
+++ llvm/trunk/bindings/ocaml/executionengine/executionengine_ocaml.c Thu Aug 7 09:48:13 2014
@@ -27,7 +27,7 @@
/* Force the LLVM interpreter and JIT to be linked in. */
void llvm_initialize(void) {
LLVMLinkInInterpreter();
- LLVMLinkInJIT();
+ LLVMLinkInMCJIT();
}
/* unit -> bool */
Modified: llvm/trunk/include/llvm-c/ExecutionEngine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/ExecutionEngine.h?rev=215117&r1=215116&r2=215117&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/ExecutionEngine.h (original)
+++ llvm/trunk/include/llvm-c/ExecutionEngine.h Thu Aug 7 09:48:13 2014
@@ -34,7 +34,6 @@ extern "C" {
* @{
*/
-void LLVMLinkInJIT(void);
void LLVMLinkInMCJIT(void);
void LLVMLinkInInterpreter(void);
More information about the llvm-commits
mailing list