diff options
| author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-30 22:48:58 +0000 |
|---|---|---|
| committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-12-30 22:48:58 +0000 |
| commit | 1862b6daa08524be6289240cf7049484b0365e39 (patch) | |
| tree | a54c59ef3ef2df0bdf4f87cba63698e4c61b1af0 | |
| parent | db64f04ac669505822c01795ba8039f81657520f (diff) | |
| download | bcm5719-llvm-1862b6daa08524be6289240cf7049484b0365e39.tar.gz bcm5719-llvm-1862b6daa08524be6289240cf7049484b0365e39.zip | |
Another backwards compatibility fix.
llvm-svn: 45463
| -rw-r--r-- | llvm/test/Bindings/Ocaml/executionengine.ml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Bindings/Ocaml/executionengine.ml b/llvm/test/Bindings/Ocaml/executionengine.ml index d2ba147c163..a091098b5b4 100644 --- a/llvm/test/Bindings/Ocaml/executionengine.ml +++ b/llvm/test/Bindings/Ocaml/executionengine.ml @@ -40,14 +40,14 @@ let test_genericvalue () = let intgv = GenericValue.of_int i32_type 3 in assert (3 = GenericValue.as_int intgv); - let i32gv = GenericValue.of_int32 i32_type 4l in - assert (4l = GenericValue.as_int32 i32gv); + let i32gv = GenericValue.of_int32 i32_type (Int32.of_int 4) in + assert ((Int32.of_int 4) = GenericValue.as_int32 i32gv); - let nigv = GenericValue.of_nativeint i32_type 5n in - assert (5n = GenericValue.as_nativeint nigv); + let nigv = GenericValue.of_nativeint i32_type (Nativeint.of_int 5) in + assert ((Nativeint.of_int 5) = GenericValue.as_nativeint nigv); - let i64gv = GenericValue.of_int64 i64_type 6L in - assert (6L = GenericValue.as_int64 i64gv) + let i64gv = GenericValue.of_int64 i64_type (Int64.of_int 6) in + assert ((Int64.of_int 6) = GenericValue.as_int64 i64gv) let test_executionengine () = (* create *) |

