Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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: 1 addition & 1 deletion binaryen.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ depends: [
"dune" {>= "3.0.0"}
"dune-configurator" {>= "3.0.0"}
"js_of_ocaml-compiler" {>= "6.0.0" < "7.0.0"}
"libbinaryen" {>= "124.0.1" < "125.0.0"}
"libbinaryen" {>= "125.0.0" < "126.0.0"}
]
x-maintenance-intent: ["0.(latest)"]
38 changes: 19 additions & 19 deletions esy.lock/index.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esy.lock/opam/ocamlfind.1.9.8/opam

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"dependencies": {
"ocaml": ">= 4.13.0 < 5.4.0",
"@grain/libbinaryen": ">= 124.0.0 < 125.0.0",
"@grain/libbinaryen": ">= 125.0.0 < 126.0.0",
"@opam/dune": ">= 3.0.0",
"@opam/dune-configurator": ">= 3.0.0"
},
Expand All @@ -16,7 +16,8 @@
"@opam/ocaml-lsp-server": ">= 1.9.1 < 2.0.0"
},
"resolutions": {
"@opam/ocp-indent": "1.7.0"
"@opam/ocp-indent": "1.7.0",
"@grain/libbinaryen": "git+https://www.github.com/spotandjake/libbinaryen.git#84d8962a81ff9472649aef5381fc85d26262ed5c"
},
"esy": {
"build": "dune build -p binaryen"
Expand Down
10 changes: 3 additions & 7 deletions src/passes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,6 @@ let minify_imports_and_exports_and_modules =
(** Split types into minimal recursion groups *)
let minimize_rec_groups = "minimize-rec-groups"

(** apply the assumption that asyncify imports always unwind, and we never
rewind *)
let mod_asyncify_always_and_only_unwind = "mod-asyncify-always-and-only-unwind"

(** apply the assumption that asyncify never unwinds *)
let mod_asyncify_never_unwind = "mod-asyncify-never-unwind"

(** creates specialized versions of functions *)
let monomorphize = "monomorphize"

Expand Down Expand Up @@ -365,6 +358,9 @@ let reorder_globals = "reorder-globals"
(** sorts locals by access frequency *)
let reorder_locals = "reorder-locals"

(** sorts private types by access frequency *)
let reorder_types = "reorder-types"

(** re-optimize control flow using the relooper algorithm *)
let rereloop = "rereloop"

Expand Down
10 changes: 3 additions & 7 deletions src/passes.mli
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,6 @@ val minify_imports_and_exports_and_modules : t
val minimize_rec_groups : t
(** Split types into minimal recursion groups *)

val mod_asyncify_always_and_only_unwind : t
(** apply the assumption that asyncify imports always unwind, and we never
rewind *)

val mod_asyncify_never_unwind : t
(** apply the assumption that asyncify never unwinds *)

val monomorphize : t
(** creates specialized versions of functions *)

Expand Down Expand Up @@ -359,6 +352,9 @@ val reorder_globals : t
val reorder_locals : t
(** sorts locals by access frequency *)

val reorder_types: t
(** sorts private types by access frequency *)

val rereloop : t
(** re-optimize control flow using the relooper algorithm *)

Expand Down
Loading