diff options
Diffstat (limited to 'test/Bindings/Ocaml/executionengine.ml')
-rw-r--r-- | test/Bindings/Ocaml/executionengine.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Bindings/Ocaml/executionengine.ml b/test/Bindings/Ocaml/executionengine.ml index 9cbeae8832..8e2494952a 100644 --- a/test/Bindings/Ocaml/executionengine.ml +++ b/test/Bindings/Ocaml/executionengine.ml @@ -103,11 +103,11 @@ let test_executionengine () = (* run_static_dtors *) ExecutionEngine.run_static_dtors ee; - (* Show that the target data binding links and runs.*) - let td = ExecutionEngine.target_data ee in + (* Show that the data layout binding links and runs.*) + let dl = ExecutionEngine.data_layout ee in (* Demonstrate that a garbage pointer wasn't returned. *) - let ty = intptr_type td context in + let ty = DataLayout.intptr_type context dl in if ty != i32_type && ty != i64_type then bomb "target_data did not work"; (* dispose *) |