Expose initializing the native target for the execution engine.
[oota-llvm.git] / docs / tutorial / OCamlLangImpl4.html
index 7cd54d9beafd505f2bd39666c4aaa0b613249dd6..238fc53392d18124fe42a749a6f7e384a7f33cd9 100644 (file)
@@ -962,6 +962,8 @@ open Llvm_target
 open Llvm_scalar_opts
 
 let main () =
+  ignore (initialize_native_target ());
+
   (* Install standard binary operators.
    * 1 is the lowest precedence. *)
   Hashtbl.add Parser.binop_precedence '<' 10;