summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/OCamlLangImpl5.html
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-14 21:54:32 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-14 21:54:32 +0000
commitb4e19177cbe87bdea74b7c707938a9df66c37df7 (patch)
tree3ccd8714a01b31b9491e5c7ca237a4eccc9b98d6 /llvm/docs/tutorial/OCamlLangImpl5.html
parentc8a18f97bb4c57b4c856c472b1b07c2d883a4d6e (diff)
downloadbcm5719-llvm-b4e19177cbe87bdea74b7c707938a9df66c37df7.tar.gz
bcm5719-llvm-b4e19177cbe87bdea74b7c707938a9df66c37df7.zip
Expose initializing the native target for the execution engine.
llvm-svn: 81800
Diffstat (limited to 'llvm/docs/tutorial/OCamlLangImpl5.html')
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl5.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl5.html b/llvm/docs/tutorial/OCamlLangImpl5.html
index bd22c5e229b..f19e900c00b 100644
--- a/llvm/docs/tutorial/OCamlLangImpl5.html
+++ b/llvm/docs/tutorial/OCamlLangImpl5.html
@@ -1487,6 +1487,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 '&lt;' 10;
OpenPOWER on IntegriCloud