From c8a18f97bb4c57b4c856c472b1b07c2d883a4d6e Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Mon, 14 Sep 2009 21:54:15 +0000 Subject: Make sure to initialize the fpm in the ocaml tutorial. llvm-svn: 81799 --- llvm/docs/tutorial/OCamlLangImpl6.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/docs/tutorial/OCamlLangImpl6.html') diff --git a/llvm/docs/tutorial/OCamlLangImpl6.html b/llvm/docs/tutorial/OCamlLangImpl6.html index 8c6996f2057..57131883ada 100644 --- a/llvm/docs/tutorial/OCamlLangImpl6.html +++ b/llvm/docs/tutorial/OCamlLangImpl6.html @@ -1518,6 +1518,8 @@ let main () = (* Simplify the control flow graph (deleting unreachable blocks, etc). *) add_cfg_simplification the_fpm; + ignore (PassManager.initialize the_fpm); + (* Run the main "interpreter loop" now. *) Toplevel.main_loop the_fpm the_execution_engine stream; -- cgit v1.2.3