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
/
OCamlLangImpl5.html
diff --git
a/docs/tutorial/OCamlLangImpl5.html
b/docs/tutorial/OCamlLangImpl5.html
index 6c77e9fa45e6cd678620b0b2d7e326dee8bf1a07..bd22c5e229b4672aa564e584d3149a83a0ae6281 100644
(file)
--- 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;