[OCaml] Accept context explicitly in Llvm_target functions
authorPeter Zotov <whitequark@whitequark.org>
Mon, 11 Nov 2013 14:47:20 +0000 (14:47 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Mon, 11 Nov 2013 14:47:20 +0000 (14:47 +0000)
commit786a43e2d8f98034046b7fd3a78d94e57a466895
tree21861c95e9ae4fddec5e0a5078b589f9964dcf5b
parent26f3bd89660e46a76a3b0267b23b00d917a45404
[OCaml] Accept context explicitly in Llvm_target functions

Llvm_target.intptr_type used to implicitly use global context. As
none of other functions in OCaml bindings do, it is changed to
accept context explicitly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194381 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/ocaml/target/llvm_target.ml
bindings/ocaml/target/llvm_target.mli
bindings/ocaml/target/target_ocaml.c
test/Bindings/Ocaml/executionengine.ml
test/Bindings/Ocaml/target.ml