projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure to initialize the fpm in the ocaml tutorial.
[oota-llvm.git]
/
docs
/
tutorial
/
OCamlLangImpl7.html
diff --git
a/docs/tutorial/OCamlLangImpl7.html
b/docs/tutorial/OCamlLangImpl7.html
index dab3059c89a478a84b72f0181ee5bfd497749c1f..411e040b93d2cfaa111c68f3199ef6c01e055998 100644
(file)
--- a/
docs/tutorial/OCamlLangImpl7.html
+++ b/
docs/tutorial/OCamlLangImpl7.html
@@
-1852,6
+1852,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;