@@ -36,12 +36,12 @@ let mk_annot f =
3636 " -annot" , Arg. Unit f, " (deprecated) Save information in <filename>.annot"
3737;;
3838
39- let mk_binannot f =
40- " -bin- annot" , Arg. Unit f, " Save typedtree in <filename>.cmt "
39+ let mk_annot_shapes f =
40+ " -annot-shapes " , Arg. Unit f, " Save shapes in <filename>.cms "
4141;;
4242
43- let mk_shapes f =
44- " -shapes " , Arg. Unit f, " Save shapes in <filename>.cms "
43+ let mk_binannot f =
44+ " -bin-annot " , Arg. Unit f, " Save typedtree in <filename>.cmt "
4545;;
4646
4747let mk_c f =
965965module type Compiler_options = sig
966966 val _a : unit -> unit
967967 val _annot : unit -> unit
968+ val _annot_shapes : unit -> unit
968969 val _binannot : unit -> unit
969970 val _c : unit -> unit
970971 val _cc : string -> unit
@@ -999,7 +1000,6 @@ module type Compiler_options = sig
9991000 val _with_runtime : unit -> unit
10001001 val _without_runtime : unit -> unit
10011002 val _safe_string : unit -> unit
1002- val _shapes : unit -> unit
10031003 val _short_paths : unit -> unit
10041004 val _thread : unit -> unit
10051005 val _v : unit -> unit
@@ -1160,8 +1160,8 @@ struct
11601160 mk_alert F. _alert;
11611161 mk_absname F. _absname;
11621162 mk_annot F. _annot;
1163+ mk_annot_shapes F. _annot_shapes;
11631164 mk_binannot F. _binannot;
1164- mk_shapes F. _shapes;
11651165 mk_c F. _c;
11661166 mk_cc F. _cc;
11671167 mk_cclib F. _cclib;
@@ -1342,8 +1342,8 @@ struct
13421342 mk_afl_instrument F. _afl_instrument;
13431343 mk_afl_inst_ratio F. _afl_inst_ratio;
13441344 mk_annot F. _annot;
1345+ mk_annot_shapes F. _annot_shapes;
13451346 mk_binannot F. _binannot;
1346- mk_shapes F. _shapes;
13471347 mk_inline_branch_factor F. _inline_branch_factor;
13481348 mk_c F. _c;
13491349 mk_cc F. _cc;
@@ -1852,6 +1852,7 @@ module Default = struct
18521852 module Compiler = struct
18531853 let _a = set make_archive
18541854 let _annot = set annotations
1855+ let _annot_shapes = set shapes
18551856 let _args = Arg. read_arg
18561857 let _args0 = Arg. read_arg0
18571858 let _binannot = set binary_annotations
@@ -1883,7 +1884,6 @@ module Default = struct
18831884 let _plugin _p = plugin := true
18841885 let _pp s = preprocessor := (Some s)
18851886 let _runtime_variant s = runtime_variant := s
1886- let _shapes = set shapes
18871887 let _stop_after pass =
18881888 let module P = Compiler_pass in
18891889 match P. of_string pass with
0 commit comments