search for: llvm_param

Displaying 3 results from an estimated 3 matches for "llvm_param".

Did you mean: llvm_params
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 b...
2010 Aug 20
0
[LLVMdev] Ocaml bindings in 2.8
...esigned. > > Thanks You can just attach it here. In the future you could either file a bug report or send the patch to llvm-commits. If no one replies, feel free to let me know directly, since ocaml patches don't come around that often so I may miss one here and there. Also, I fixed the llvm_params bug in trunk, as well as exposed a num_operands and a set_operand for you.
2010 Aug 15
4
[LLVMdev] Ocaml bindings in 2.8
Hi, Does 2.8 release plan to change anything in Ocaml bindings? http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any relevant features. 2.7 added 'operand' that can access each operand from a value. external operand : llvalue -> int -> llvalue = "llvm_operand" Does this binding also expose a primitive to return how many operands a given value has? I need