diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-06 00:08:49 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-06 00:08:49 +0000 |
commit | 1456bacbabfd337ea6bdf99fff172c8c364c0b9f (patch) | |
tree | a2fd7394807637248221b71769b9d3c5490da2ce /bindings/ocaml/llvm/llvm_ocaml.c | |
parent | ddf030ba62cb96ded043e745b6ba5fa3749da635 (diff) | |
download | external_llvm-1456bacbabfd337ea6bdf99fff172c8c364c0b9f.zip external_llvm-1456bacbabfd337ea6bdf99fff172c8c364c0b9f.tar.gz external_llvm-1456bacbabfd337ea6bdf99fff172c8c364c0b9f.tar.bz2 |
Wrapping Value::dump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm_ocaml.c')
-rw-r--r-- | bindings/ocaml/llvm/llvm_ocaml.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm_ocaml.c b/bindings/ocaml/llvm/llvm_ocaml.c index f53ad3c..bc6e0b7 100644 --- a/bindings/ocaml/llvm/llvm_ocaml.c +++ b/bindings/ocaml/llvm/llvm_ocaml.c @@ -219,6 +219,12 @@ CAMLprim value llvm_set_value_name(value Name, LLVMValueRef Val) { return Val_unit; } +/* llvalue -> unit */ +CAMLprim value llvm_dump_value(LLVMValueRef Val) { + LLVMDumpValue(Val); + return Val_unit; +} + /*--... Operations on constants of (mostly) any type .......................--*/ /* llvalue -> bool */ |