aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bindings/Ocaml/vmcore.ml
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-19 22:30:40 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-19 22:30:40 +0000
commit91ab68bbf0e71ea233d92871f637fc48b6c4db8d (patch)
tree6bfc10578fca9bc86214295b290bec5b0821be8f /test/Bindings/Ocaml/vmcore.ml
parent15e8f535219301e37eceba56d3ae047db8e10f4f (diff)
downloadexternal_llvm-91ab68bbf0e71ea233d92871f637fc48b6c4db8d.zip
external_llvm-91ab68bbf0e71ea233d92871f637fc48b6c4db8d.tar.gz
external_llvm-91ab68bbf0e71ea233d92871f637fc48b6c4db8d.tar.bz2
Adding bindings for memory buffers and module providers. Switching
to exceptions rather than variants for error handling in Ocaml. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/vmcore.ml')
-rw-r--r--test/Bindings/Ocaml/vmcore.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Bindings/Ocaml/vmcore.ml b/test/Bindings/Ocaml/vmcore.ml
index 65d8a31..04b8086 100644
--- a/test/Bindings/Ocaml/vmcore.ml
+++ b/test/Bindings/Ocaml/vmcore.ml
@@ -805,8 +805,8 @@ let test_builder () =
let test_module_provider () =
let m = create_module "test" in
- let mp = create_module_provider m in
- dispose_module_provider mp
+ let mp = ModuleProvider.create m in
+ ModuleProvider.dispose mp
(*===-- Writer ------------------------------------------------------------===*)