summaryrefslogtreecommitdiff
path: root/docs/tutorial/OCamlLangImpl5.html
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-14 21:54:15 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-14 21:54:15 +0000
commit126d86b9f930e36c37f2bed89e0612a49165ffb5 (patch)
treefdc083d7eca0a2f36b02459bb0510057e4efe016 /docs/tutorial/OCamlLangImpl5.html
parent752195e3c662c6b5db042cf897c984624720f3b8 (diff)
downloadllvm-126d86b9f930e36c37f2bed89e0612a49165ffb5.tar.gz
llvm-126d86b9f930e36c37f2bed89e0612a49165ffb5.tar.bz2
llvm-126d86b9f930e36c37f2bed89e0612a49165ffb5.tar.xz
Make sure to initialize the fpm in the ocaml tutorial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/OCamlLangImpl5.html')
-rw-r--r--docs/tutorial/OCamlLangImpl5.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/tutorial/OCamlLangImpl5.html b/docs/tutorial/OCamlLangImpl5.html
index 6c77e9fa45..bd22c5e229 100644
--- a/docs/tutorial/OCamlLangImpl5.html
+++ b/docs/tutorial/OCamlLangImpl5.html
@@ -1519,6 +1519,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;