Skip to content

Commit

Permalink
flambda-backend: Remove alloc-check from ocaml/
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Dec 28, 2022
1 parent a09392d commit 7584479
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions driver/main_args.ml
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,6 @@ let mk_afl_inst_ratio f =
\ (advanced, see afl-fuzz docs for AFL_INST_RATIO)"
;;

let mk_alloc_check f =
"-alloc-check", Arg.Unit f, "<ignored>"

let mk__ f =
"-", Arg.String f,
"<file> Treat <file> as a file name (even if it starts with `-')"
Expand Down Expand Up @@ -1175,7 +1172,6 @@ module type Optcomp_options = sig
val _save_ir_after : string -> unit
val _probes : unit -> unit
val _no_probes : unit -> unit
val _alloc_check : unit -> unit
end;;

module type Opttop_options = sig
Expand Down Expand Up @@ -1545,7 +1541,6 @@ struct
mk_dump_into_file F._dump_into_file;
mk_dump_dir F._dump_dir;
mk_dump_pass F._dump_pass;
mk_alloc_check F._alloc_check;

mk_args F._args;
mk_args0 F._args0;
Expand Down Expand Up @@ -2029,7 +2024,6 @@ module Default = struct
let _v () = Compenv.print_version_and_library "native-code compiler"
let _no_probes = clear probes
let _probes = set probes
let _alloc_check () = ()
end

module Odoc_args = struct
Expand Down
1 change: 0 additions & 1 deletion driver/main_args.mli
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ module type Optcomp_options = sig
val _save_ir_after : string -> unit
val _probes : unit -> unit
val _no_probes : unit -> unit
val _alloc_check : unit -> unit
end;;

module type Opttop_options = sig
Expand Down

0 comments on commit 7584479

Please sign in to comment.