Displaying 1 result from an estimated 1 matches for "llvmcountparam".
Did you mean:
llvmcountparams
2010 Aug 18
0
[LLVMdev] a typo in OCaml bindings
Hi,
revision 111418
binding/ocaml/llvm/llvm_ocaml.c
/* llvalue -> int -> llvalue */
CAMLprim value llvm_params(LLVMValueRef Fn, value Index) {
value Params = alloc(LLVMCountParams(Fn), 0);
LLVMGetParams(Fn, (LLVMValueRef *) Op_val(Params));
return Params;
}
does not match the interface at binding/ocaml/llvm/llvm.ml
external params : llvalue -> llvalue array = "llvm_params"
It should be
/* llvalue -> llvalue */
CAMLprim value llvm_params(LLVMValueRef...