2011-04-14 11:53:39 +02:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Heptagon *)
|
|
|
|
(* *)
|
|
|
|
(* Author : Marc Pouzet *)
|
|
|
|
(* Organization : Demons, LRI, University of Paris-Sud, Orsay *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
open Misc
|
|
|
|
open Location
|
|
|
|
open Compiler_utils
|
|
|
|
open Compiler_options
|
|
|
|
|
|
|
|
let pp p = if !verbose then Obc_printer.print stdout p
|
|
|
|
|
|
|
|
let compile_program p =
|
|
|
|
(*Control optimization*)
|
|
|
|
let p = pass "Control optimization" true Control.program p pp in
|
2011-04-19 18:45:56 +02:00
|
|
|
p
|