X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FBindings%2FOcaml%2Fexecutionengine.ml;h=420a14f67c55239fbb72239f47a623d365af5363;hp=56cf6e86c794b8eba3ac48ae445ec58cbd8daa93;hb=b02b87882788e57e180c6b903a37ced0db1ce828;hpb=c34ebf65af0139eaf5cb0969fabcd32c0b6e1710 diff --git a/test/Bindings/Ocaml/executionengine.ml b/test/Bindings/Ocaml/executionengine.ml index 56cf6e86c79..420a14f67c5 100644 --- a/test/Bindings/Ocaml/executionengine.ml +++ b/test/Bindings/Ocaml/executionengine.ml @@ -9,6 +9,12 @@ open Llvm_target (* Note that this takes a moment to link, so it's best to keep the number of individual tests low. *) +let context = global_context () +let i8_type = Llvm.i8_type context +let i32_type = Llvm.i32_type context +let i64_type = Llvm.i64_type context +let double_type = Llvm.double_type context + let bomb msg = prerr_endline msg; exit 2