mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix the ocaml bindings for the bitcode reader.
llvm_get_module_provider() was returning a value of the wrong type. llvm-svn: 97290
This commit is contained in:
parent
93fd3ddf24
commit
9093c94bbe
@ -56,7 +56,7 @@ CAMLprim value llvm_get_module_provider(LLVMContextRef C,
|
||||
if (LLVMGetBitcodeModuleProviderInContext(C, MemBuf, &MP, &Message))
|
||||
llvm_raise(llvm_bitreader_error_exn, Message);
|
||||
|
||||
CAMLreturn((value) MemBuf);
|
||||
CAMLreturn((value) MP);
|
||||
}
|
||||
|
||||
/* Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule */
|
||||
|
Loading…
Reference in New Issue
Block a user