Skip to content

Remove Invariant_env, empty invariant checks, etc. #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions middle_end/flambda2/basic/exn_continuation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ let exn_handler t = t.exn_handler

let extra_args t = t.extra_args

let invariant _env _t = ()

let free_names { exn_handler; extra_args } =
let extra_args = List.map (fun (simple, _kind) -> simple) extra_args in
Name_occurrences.union
Expand Down
1 change: 0 additions & 1 deletion middle_end/flambda2/basic/exn_continuation.mli
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

type t

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

include Expr_std.S with type t := t
Expand Down
2 changes: 0 additions & 2 deletions middle_end/flambda2/basic/expr_std.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@ module type S = sig

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

val invariant : Invariant_env.t -> t -> unit

include Contains_names.S with type t := t
end
316 changes: 0 additions & 316 deletions middle_end/flambda2/basic/invariant_env.ml

This file was deleted.

Loading