diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-08 16:55:43 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-08 16:55:43 +0000 |
commit | 75e290f67aa7af3c0be993df4845c0defaf6ffa3 (patch) | |
tree | b471c289a0305c19f479d01bb64f6171a45b0f86 /bindings/ocaml/analysis | |
parent | 5aaddaa7b8d52eec58f6eec0a4a897a03b517ca4 (diff) | |
download | external_llvm-75e290f67aa7af3c0be993df4845c0defaf6ffa3.zip external_llvm-75e290f67aa7af3c0be993df4845c0defaf6ffa3.tar.gz external_llvm-75e290f67aa7af3c0be993df4845c0defaf6ffa3.tar.bz2 |
Fix bug in constructing Ocaml option types in the bindings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/analysis')
-rw-r--r-- | bindings/ocaml/analysis/analysis_ocaml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ocaml/analysis/analysis_ocaml.c b/bindings/ocaml/analysis/analysis_ocaml.c index cc1098a..c77fa73 100644 --- a/bindings/ocaml/analysis/analysis_ocaml.c +++ b/bindings/ocaml/analysis/analysis_ocaml.c @@ -32,7 +32,7 @@ CAMLprim value llvm_verify_module(LLVMModuleRef M) { if (0 == Result) { Option = Val_int(0); } else { - Option = alloc(1, 1); + Option = alloc(1, 0); String = copy_string(Message); Store_field(Option, 0, String); } |