[llvm-branch-commits] [llvm-branch] r81974 - in /llvm/branches/release_26/docs/tutorial: OCamlLangImpl4.html OCamlLangImpl5.html OCamlLangImpl6.html OCamlLangImpl7.html
Tanya Lattner
tonic at nondot.org
Tue Sep 15 18:05:19 PDT 2009
Author: tbrethou
Date: Tue Sep 15 20:05:19 2009
New Revision: 81974
URL: http://llvm.org/viewvc/llvm-project?rev=81974&view=rev
Log:
Merge 81799 from mainline.
Make sure to initialize the fpm in the ocaml tutorial.
Modified:
llvm/branches/release_26/docs/tutorial/OCamlLangImpl4.html
llvm/branches/release_26/docs/tutorial/OCamlLangImpl5.html
llvm/branches/release_26/docs/tutorial/OCamlLangImpl6.html
llvm/branches/release_26/docs/tutorial/OCamlLangImpl7.html
Modified: llvm/branches/release_26/docs/tutorial/OCamlLangImpl4.html
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/docs/tutorial/OCamlLangImpl4.html?rev=81974&r1=81973&r2=81974&view=diff
==============================================================================
--- llvm/branches/release_26/docs/tutorial/OCamlLangImpl4.html (original)
+++ llvm/branches/release_26/docs/tutorial/OCamlLangImpl4.html Tue Sep 15 20:05:19 2009
@@ -206,6 +206,8 @@
(* 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;
</pre>
@@ -992,6 +994,8 @@
(* 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;
Modified: llvm/branches/release_26/docs/tutorial/OCamlLangImpl5.html
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/docs/tutorial/OCamlLangImpl5.html?rev=81974&r1=81973&r2=81974&view=diff
==============================================================================
--- llvm/branches/release_26/docs/tutorial/OCamlLangImpl5.html (original)
+++ llvm/branches/release_26/docs/tutorial/OCamlLangImpl5.html Tue Sep 15 20:05:19 2009
@@ -1519,6 +1519,8 @@
(* 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;
Modified: llvm/branches/release_26/docs/tutorial/OCamlLangImpl6.html
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/docs/tutorial/OCamlLangImpl6.html?rev=81974&r1=81973&r2=81974&view=diff
==============================================================================
--- llvm/branches/release_26/docs/tutorial/OCamlLangImpl6.html (original)
+++ llvm/branches/release_26/docs/tutorial/OCamlLangImpl6.html Tue Sep 15 20:05:19 2009
@@ -1518,6 +1518,8 @@
(* 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;
Modified: llvm/branches/release_26/docs/tutorial/OCamlLangImpl7.html
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/docs/tutorial/OCamlLangImpl7.html?rev=81974&r1=81973&r2=81974&view=diff
==============================================================================
--- llvm/branches/release_26/docs/tutorial/OCamlLangImpl7.html (original)
+++ llvm/branches/release_26/docs/tutorial/OCamlLangImpl7.html Tue Sep 15 20:05:19 2009
@@ -1852,6 +1852,8 @@
(* 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;
More information about the llvm-branch-commits
mailing list