Ignore:
Timestamp:
Oct 21, 2011, 2:02:41 PM (8 years ago)
Author:
tranquil
Message:
  • added infrastructure to add same-language transformations along the compilation chain from command line options
  • started work on cost expression semplification
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D2.2/8051-indexed-labels-branch/src/options.ml

    r1328 r1433  
    4848let is_debug_enabled ()         = !debug_flag
    4949
     50let transformations = ref []
     51let add_transformation t () = transformations := t :: !transformations
     52let get_transformations () = !transformations
     53
    5054(*
    5155let print_result_flag           = ref false
     
    8387  "-o", Arg.String set_output_files,
    8488  " Prefix of the output files.";
     89       
     90        "-peel", Arg.Unit (add_transformation LoopPeeling.trans),
     91        " Apply loop peeling.";
    8592
    8693(*
Note: See TracChangeset for help on using the changeset viewer.