Skip to content

Commit f949834

Browse files
authored
Remove Invariant_env, empty invariant checks, etc. (ocaml-flambda#265)
1 parent c00a018 commit f949834

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+129
-896
lines changed

middle_end/flambda2/basic/exn_continuation.ml

-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ let exn_handler t = t.exn_handler
8585

8686
let extra_args t = t.extra_args
8787

88-
let invariant _env _t = ()
89-
9088
let free_names { exn_handler; extra_args } =
9189
let extra_args = List.map (fun (simple, _kind) -> simple) extra_args in
9290
Name_occurrences.union

middle_end/flambda2/basic/exn_continuation.mli

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
type t
2525

26-
(** Printing, invariant checks, name manipulation, etc. *)
2726
include Container_types.S with type t := t
2827

2928
include Expr_std.S with type t := t

middle_end/flambda2/basic/expr_std.ml

-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,5 @@ module type S = sig
2424

2525
val print_with_cache : cache:Printing_cache.t -> Format.formatter -> t -> unit
2626

27-
val invariant : Invariant_env.t -> t -> unit
28-
2927
include Contains_names.S with type t := t
3028
end

middle_end/flambda2/basic/invariant_env.ml

-316
This file was deleted.

0 commit comments

Comments
 (0)