diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-20 00:13:26 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-20 00:13:26 +0000 |
commit | 1475142b93a618da72ec471e5ad7c1510c2feb37 (patch) | |
tree | e46f6af41820c6686c9ca5e4892298ed3f569c21 /test/Bindings/Ocaml/vmcore.ml | |
parent | d6b62a572210aff965a55626cf36a68821838844 (diff) | |
download | external_llvm-1475142b93a618da72ec471e5ad7c1510c2feb37.zip external_llvm-1475142b93a618da72ec471e5ad7c1510c2feb37.tar.gz external_llvm-1475142b93a618da72ec471e5ad7c1510c2feb37.tar.bz2 |
Use a module to group calling convention values, too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bindings/Ocaml/vmcore.ml')
-rw-r--r-- | test/Bindings/Ocaml/vmcore.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/vmcore.ml b/test/Bindings/Ocaml/vmcore.ml index c0afd7e..fb8445b 100644 --- a/test/Bindings/Ocaml/vmcore.ml +++ b/test/Bindings/Ocaml/vmcore.ml @@ -496,9 +496,9 @@ let test_functions () = *) group "callconv"; let fn = define_function "Fn5" ty m in - insist (ccc = function_call_conv fn); - set_function_call_conv fastcc fn; - insist (fastcc = function_call_conv fn); + insist (CallConv.c = function_call_conv fn); + set_function_call_conv CallConv.fast fn; + insist (CallConv.fast = function_call_conv fn); ignore (build_unreachable (builder_at_end (entry_block fn))); begin group "collector"; |