llvm.org GIT mirror llvm / 544e5bc
Merge 81799 from mainline. Make sure to initialize the fpm in the ocaml tutorial. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81974 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 9 years ago
4 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
204204
205205 (* Simplify the control flow graph (deleting unreachable blocks, etc). *)
206206 add_cfg_simplification the_fpm;
207
208 ignore (PassManager.initialize the_fpm);
207209
208210 (* Run the main "interpreter loop" now. *)
209211 Toplevel.main_loop the_fpm the_execution_engine stream;
991993 (* Simplify the control flow graph (deleting unreachable blocks, etc). *)
992994 add_cfg_simplification the_fpm;
993995
996 ignore (PassManager.initialize the_fpm);
997
994998 (* Run the main "interpreter loop" now. *)
995999 Toplevel.main_loop the_fpm the_execution_engine stream;
9961000
15181518 (* Simplify the control flow graph (deleting unreachable blocks, etc). *)
15191519 add_cfg_simplification the_fpm;
15201520
1521 ignore (PassManager.initialize the_fpm);
1522
15211523 (* Run the main "interpreter loop" now. *)
15221524 Toplevel.main_loop the_fpm the_execution_engine stream;
15231525
15171517 (* Simplify the control flow graph (deleting unreachable blocks, etc). *)
15181518 add_cfg_simplification the_fpm;
15191519
1520 ignore (PassManager.initialize the_fpm);
1521
15201522 (* Run the main "interpreter loop" now. *)
15211523 Toplevel.main_loop the_fpm the_execution_engine stream;
15221524
18511851 (* Simplify the control flow graph (deleting unreachable blocks, etc). *)
18521852 add_cfg_simplification the_fpm;
18531853
1854 ignore (PassManager.initialize the_fpm);
1855
18541856 (* Run the main "interpreter loop" now. *)
18551857 Toplevel.main_loop the_fpm the_execution_engine stream;
18561858