Skip to content

Commit

Permalink
flambda-backend: Move compiler flag -dcfg out of ocaml/ subdirectory (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
gretay-js committed Nov 29, 2021
1 parent 4fd57cf commit 6b58001
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions driver/main_args.ml
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,6 @@ let mk_dcamlprimc f =
"-dcamlprimc", Arg.Unit f, " (undocumented)"
;;

let mk_dcfg f =
"-dcfg", Arg.Unit f, " (undocumented)"
;;

let mk_dcmm_invariants f =
"-dcmm-invariants", Arg.Unit f, " Extra sanity checks on Cmm"
;;
Expand Down Expand Up @@ -1121,7 +1117,6 @@ module type Optcommon_options = sig
val _dflambda_verbose : unit -> unit
val _drawclambda : unit -> unit
val _dclambda : unit -> unit
val _dcfg : unit -> unit
val _dcmm_invariants : unit -> unit
val _dcmm : unit -> unit
val _dsel : unit -> unit
Expand Down Expand Up @@ -1496,7 +1491,6 @@ struct
mk_dflambda_let F._dflambda_let;
mk_dflambda_verbose F._dflambda_verbose;

mk_dcfg F._dcfg;
mk_dcmm F._dcmm;
mk_dsel F._dsel;
mk_dcombine F._dcombine;
Expand Down Expand Up @@ -1606,7 +1600,6 @@ module Make_opttop_options (F : Opttop_options) = struct
mk_dcmm_invariants F._dcmm_invariants;
mk_drawflambda F._drawflambda;
mk_dflambda F._dflambda;
mk_dcfg F._dcfg;
mk_dcmm F._dcmm;
mk_dsel F._dsel;
mk_dcombine F._dcombine;
Expand Down Expand Up @@ -1787,7 +1780,6 @@ module Default = struct
let _dalloc = set dump_regalloc
let _davail () = dump_avail := true
let _dclambda = set dump_clambda
let _dcfg = set dump_cfg
let _dcmm = set dump_cmm
let _dcmm_invariants = set cmm_invariants
let _dcombine = set dump_combine
Expand Down
1 change: 0 additions & 1 deletion driver/main_args.mli
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ module type Optcommon_options = sig
val _dflambda_verbose : unit -> unit
val _drawclambda : unit -> unit
val _dclambda : unit -> unit
val _dcfg : unit -> unit
val _dcmm_invariants : unit -> unit
val _dcmm : unit -> unit
val _dsel : unit -> unit
Expand Down
1 change: 0 additions & 1 deletion utils/clflags.ml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ let optimize_for_speed = ref true (* -compact *)
and opaque = ref false (* -opaque *)

and dump_cmm = ref false (* -dcmm *)
let dump_cfg = ref false (* -dcfg *)
let dump_selection = ref false (* -dsel *)
let dump_cse = ref false (* -dcse *)
let dump_live = ref false (* -dlive *)
Expand Down
1 change: 0 additions & 1 deletion utils/clflags.mli
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ val dump_instr : bool ref
val keep_camlprimc_file : bool ref
val keep_asm_file : bool ref
val optimize_for_speed : bool ref
val dump_cfg : bool ref
val dump_cmm : bool ref
val dump_selection : bool ref
val dump_cse : bool ref
Expand Down

0 comments on commit 6b58001

Please sign in to comment.