diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-08-19 17:32:24 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-08-19 17:32:24 +0000 |
commit | b02b87882788e57e180c6b903a37ced0db1ce828 (patch) | |
tree | 988e30329d11fccacee72ea81c8a90b78f2a277a /test/Bindings/Ocaml/bitreader.ml | |
parent | c34ebf65af0139eaf5cb0969fabcd32c0b6e1710 (diff) |
Convert the rest of the ocaml types and functions to use context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/bitreader.ml')
-rw-r--r-- | test/Bindings/Ocaml/bitreader.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Bindings/Ocaml/bitreader.ml b/test/Bindings/Ocaml/bitreader.ml index 2b93123216..2abeda95f5 100644 --- a/test/Bindings/Ocaml/bitreader.ml +++ b/test/Bindings/Ocaml/bitreader.ml @@ -14,7 +14,7 @@ let _ = let fn = Sys.argv.(1) in let m = Llvm.create_module context "ocaml_test_module" in - ignore (Llvm.define_type_name "caml_int_ty" Llvm.i32_type m); + ignore (Llvm.define_type_name "caml_int_ty" (Llvm.i32_type context) m); test (Llvm_bitwriter.write_bitcode_file m fn); |