@grain/binaryen.ml 0.9.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {binaryen-archive → binaryen-archive-v0.11.2}/.gitattributes +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/.gitignore +1 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/.gitmodules +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/CHANGELOG.md +73 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/LICENSE +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/README.md +27 -3
- {binaryen-archive → binaryen-archive-v0.11.2}/binaryen.opam +8 -8
- {binaryen-archive → binaryen-archive-v0.11.2}/dune +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/dune-project +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/dune-workspace +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/.gitattributes +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/.gitignore +0 -0
- binaryen-archive-v0.11.2/esy.lock/index.json +1365 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/astring.0.8.5/opam +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/base-threads.base/opam +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/base-unix.base/opam +0 -0
- {binaryen-archive/esy.lock/opam/base.v0.14.1 → binaryen-archive-v0.11.2/esy.lock/opam/base.v0.14.2}/opam +4 -4
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/biniou.1.2.1/opam +1 -1
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/cmdliner.1.0.4/opam +0 -0
- {binaryen-archive/esy.lock/opam/cppo.1.6.7 → binaryen-archive-v0.11.2/esy.lock/opam/cppo.1.6.8}/opam +4 -6
- {binaryen-archive/esy.lock/opam/csexp.1.4.0 → binaryen-archive-v0.11.2/esy.lock/opam/csexp.1.5.1}/opam +11 -9
- {binaryen-archive/esy.lock/opam/dune-build-info.2.8.2 → binaryen-archive-v0.11.2/esy.lock/opam/dune-build-info.2.9.1}/opam +5 -5
- {binaryen-archive/esy.lock/opam/dune-configurator.2.8.2 → binaryen-archive-v0.11.2/esy.lock/opam/dune-configurator.2.9.1}/opam +5 -5
- {binaryen-archive/esy.lock/opam/dune.2.8.2 → binaryen-archive-v0.11.2/esy.lock/opam/dune.2.9.1}/opam +4 -4
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/easy-format.1.3.2/opam +1 -1
- {binaryen-archive/esy.lock/opam/fix.20201120 → binaryen-archive-v0.11.2/esy.lock/opam/fix.20211231}/opam +7 -5
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/fpath.0.7.3/opam +0 -0
- binaryen-archive-v0.11.2/esy.lock/opam/js_of_ocaml-compiler.3.11.0/opam +54 -0
- binaryen-archive-v0.11.2/esy.lock/opam/js_of_ocaml-ppx.3.11.0/opam +44 -0
- binaryen-archive-v0.11.2/esy.lock/opam/js_of_ocaml.3.11.0/opam +45 -0
- {binaryen-archive/esy.lock/opam/menhir.20201216 → binaryen-archive-v0.11.2/esy.lock/opam/menhir.20211128}/opam +8 -6
- {binaryen-archive/esy.lock/opam/menhirLib.20201216 → binaryen-archive-v0.11.2/esy.lock/opam/menhirLib.20211128}/opam +8 -6
- {binaryen-archive/esy.lock/opam/menhirSdk.20201216 → binaryen-archive-v0.11.2/esy.lock/opam/menhirSdk.20211128}/opam +8 -6
- binaryen-archive-v0.11.2/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +39 -0
- {binaryen-archive/esy.lock/opam/ocaml-lsp-server.1.4.0 → binaryen-archive-v0.11.2/esy.lock/opam/ocaml-lsp-server.1.9.0}/opam +15 -12
- {binaryen-archive/esy.lock/opam/ocaml-migrate-parsetree.2.1.0 → binaryen-archive-v0.11.2/esy.lock/opam/ocaml-migrate-parsetree.2.3.0}/opam +13 -10
- binaryen-archive-v0.11.2/esy.lock/opam/ocaml-version.3.4.0/opam +49 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/ocamlbuild.0.14.0/opam +1 -1
- {binaryen-archive/esy.lock/opam/ocamlfind.1.8.1 → binaryen-archive-v0.11.2/esy.lock/opam/ocamlfind.1.9.1}/opam +19 -39
- binaryen-archive-v0.11.2/esy.lock/opam/ocamlformat-rpc-lib.0.19.0/opam +40 -0
- binaryen-archive-v0.11.2/esy.lock/opam/ocamlformat.0.18.0/opam +56 -0
- {binaryen-archive/esy.lock/opam/odoc.1.5.2 → binaryen-archive-v0.11.2/esy.lock/opam/odoc.1.5.3}/opam +12 -12
- binaryen-archive-v0.11.2/esy.lock/opam/pp.1.1.2/opam +58 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/ppx_derivers.1.2.1/opam +1 -1
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/ppx_yojson_conv_lib.v0.14.0/opam +2 -2
- {binaryen-archive/esy.lock/opam/ppxlib.0.21.0 → binaryen-archive-v0.11.2/esy.lock/opam/ppxlib.0.22.2}/opam +40 -32
- {binaryen-archive/esy.lock/opam/re.1.9.0 → binaryen-archive-v0.11.2/esy.lock/opam/re.1.10.3}/opam +8 -4
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/result.1.5/opam +2 -2
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/seq.base/files/META.seq +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/seq.base/files/seq.install +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/seq.base/opam +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/sexplib0.v0.14.0/opam +2 -2
- binaryen-archive-v0.11.2/esy.lock/opam/spawn.v0.15.0/opam +56 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/stdio.v0.14.0/opam +2 -2
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/stdlib-shims.0.3.0/opam +0 -0
- {binaryen-archive/esy.lock/opam/topkg.1.0.3 → binaryen-archive-v0.11.2/esy.lock/opam/topkg.1.0.4}/opam +18 -22
- binaryen-archive-v0.11.2/esy.lock/opam/tyxml.4.5.0/opam +42 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/uchar.0.0.2/opam +0 -0
- binaryen-archive-v0.11.2/esy.lock/opam/uucp.14.0.0/opam +41 -0
- {binaryen-archive/esy.lock/opam/uuseg.13.0.0 → binaryen-archive-v0.11.2/esy.lock/opam/uuseg.14.0.0}/opam +22 -28
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/uutf.1.0.2/opam +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/opam/yojson.1.7.0/opam +1 -1
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/files/ocamlbuild-0.14.0.patch +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/package.json +0 -0
- binaryen-archive/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.8.1_opam_override/files/findlib-1.8.1.patch → binaryen-archive-v0.11.2/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override/files/findlib-1.9.1.patch +0 -0
- {binaryen-archive/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.8.1_opam_override → binaryen-archive-v0.11.2/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override}/package.json +1 -1
- binaryen-archive-v0.11.2/js/binaryen.es5.js +5 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/dune +1 -6
- binaryen-archive-v0.11.2/js/element_segment.ml +33 -0
- binaryen-archive-v0.11.2/js/export.ml +60 -0
- binaryen-archive-v0.11.2/js/expression.ml +944 -0
- binaryen-archive-v0.11.2/js/function.ml +60 -0
- binaryen-archive-v0.11.2/js/global.ml +48 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/import.ml +24 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/literal.ml +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/memory.ml +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/module.ml +42 -46
- {binaryen-archive → binaryen-archive-v0.11.2}/js/op.ml +9 -78
- binaryen-archive-v0.11.2/js/postlude.js +2 -0
- binaryen-archive-v0.11.2/js/prelude.js +11 -0
- binaryen-archive-v0.11.2/js/settings.ml +60 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/stubs.c +0 -0
- binaryen-archive-v0.11.2/js/table.ml +29 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/js/type.ml +3 -0
- binaryen-archive-v0.11.2/package.json +37 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_exports.c +78 -0
- binaryen-archive-v0.11.2/src/binaryen_stubs_expressions.c +1710 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_features.c +7 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_functions.c +78 -0
- binaryen-archive-v0.11.2/src/binaryen_stubs_globals.c +109 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_imports.c +29 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_literals.c +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_memory.c +1 -1
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_modules.c +0 -122
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_ops.c +19 -173
- binaryen-archive-v0.11.2/src/binaryen_stubs_settings.c +145 -0
- binaryen-archive-v0.11.2/src/binaryen_stubs_tables.c +145 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/binaryen_stubs_types.c +18 -0
- binaryen-archive-v0.11.2/src/dune +14 -0
- binaryen-archive-v0.11.2/src/element_segment.ml +13 -0
- binaryen-archive-v0.11.2/src/export.ml +54 -0
- binaryen-archive-v0.11.2/src/expression.ml +844 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/function.ml +18 -0
- binaryen-archive-v0.11.2/src/global.ml +24 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/import.ml +12 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/literal.ml +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/memory.ml +0 -0
- binaryen-archive-v0.11.2/src/module.ml +115 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/ocaml_helpers.c +0 -8
- {binaryen-archive → binaryen-archive-v0.11.2}/src/ocaml_helpers.h +2 -3
- {binaryen-archive → binaryen-archive-v0.11.2}/src/op.ml +18 -131
- binaryen-archive-v0.11.2/src/settings.ml +45 -0
- binaryen-archive-v0.11.2/src/table.ml +26 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/src/type.ml +2 -0
- binaryen-archive-v0.11.2/test/config/dune +8 -0
- binaryen-archive-v0.11.2/test/config/ocamlopt_flags.ml +16 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/test/dune +4 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/test/test.expected +38 -5
- binaryen-archive-v0.11.2/test/test.ml +147 -0
- binaryen-archive-v0.11.2/virtual/dune +6 -0
- binaryen-archive-v0.11.2/virtual/element_segment.mli +11 -0
- binaryen-archive-v0.11.2/virtual/export.mli +33 -0
- binaryen-archive-v0.11.2/virtual/expression.mli +423 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/function.mli +16 -0
- binaryen-archive-v0.11.2/virtual/global.mli +19 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/import.mli +8 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/literal.mli +0 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/memory.mli +0 -0
- binaryen-archive-v0.11.2/virtual/module.mli +65 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/op.mli +9 -53
- binaryen-archive-v0.11.2/virtual/settings.mli +35 -0
- binaryen-archive-v0.11.2/virtual/table.mli +19 -0
- {binaryen-archive → binaryen-archive-v0.11.2}/virtual/type.mli +2 -0
- binaryen-archive/esy.lock/index.json +0 -1288
- binaryen-archive/esy.lock/opam/conf-m4.1/opam +0 -22
- binaryen-archive/esy.lock/opam/dot-merlin-reader.4.1/opam +0 -30
- binaryen-archive/esy.lock/opam/js_of_ocaml-compiler.3.9.1/opam +0 -40
- binaryen-archive/esy.lock/opam/js_of_ocaml-ppx.3.9.0/opam +0 -30
- binaryen-archive/esy.lock/opam/js_of_ocaml.3.9.0/opam +0 -31
- binaryen-archive/esy.lock/opam/ocaml-compiler-libs.v0.12.3/opam +0 -29
- binaryen-archive/esy.lock/opam/ocamlfind.1.8.1/files/ocaml-stub +0 -4
- binaryen-archive/esy.lock/opam/ocamlfind.1.8.1/files/ocamlfind.install +0 -6
- binaryen-archive/esy.lock/opam/ocamlformat.0.15.1/opam +0 -41
- binaryen-archive/esy.lock/opam/tyxml.4.4.0/opam +0 -47
- binaryen-archive/esy.lock/opam/uucp.13.0.0/opam +0 -44
- binaryen-archive/esy.lock/overrides/opam__s__conf_m4_opam__c__1_opam_override/package.json +0 -6
- binaryen-archive/js/export.ml +0 -23
- binaryen-archive/js/expression.ml +0 -185
- binaryen-archive/js/features.ml +0 -27
- binaryen-archive/js/function.ml +0 -29
- binaryen-archive/js/function_table.ml +0 -13
- binaryen-archive/js/global.ml +0 -19
- binaryen-archive/js/postlude.js +0 -2
- binaryen-archive/js/table.ml +0 -12
- binaryen-archive/package.json +0 -43
- binaryen-archive/src/binaryen_stubs_expressions.c +0 -410
- binaryen-archive/src/binaryen_stubs_function_tables.c +0 -25
- binaryen-archive/src/binaryen_stubs_globals.c +0 -46
- binaryen-archive/src/binaryen_stubs_tables.c +0 -31
- binaryen-archive/src/config/dune +0 -8
- binaryen-archive/src/config/library_flags.ml +0 -16
- binaryen-archive/src/dune +0 -53
- binaryen-archive/src/export.ml +0 -21
- binaryen-archive/src/expression.ml +0 -115
- binaryen-archive/src/features.ml +0 -49
- binaryen-archive/src/function_table.ml +0 -6
- binaryen-archive/src/global.ml +0 -10
- binaryen-archive/src/module.ml +0 -89
- binaryen-archive/src/table.ml +0 -4
- binaryen-archive/test/test.ml +0 -83
- binaryen-archive/vendor/binaryen-c.h +0 -2647
- binaryen-archive/vendor/js/index.es5.js +0 -5
- binaryen-archive/vendor/linux/libbinaryen.a +0 -0
- binaryen-archive/vendor/linux/libbinaryen.so +0 -0
- binaryen-archive/vendor/macosx/libbinaryen.a +0 -0
- binaryen-archive/vendor/macosx/libbinaryen.dylib +0 -0
- binaryen-archive/vendor/mingw64/libbinaryen.a +0 -0
- binaryen-archive/vendor/mingw64/libbinaryen.dll +0 -0
- binaryen-archive/vendor/wasm-delegations.h +0 -85
- binaryen-archive/virtual/dune +0 -6
- binaryen-archive/virtual/export.mli +0 -11
- binaryen-archive/virtual/expression.mli +0 -68
- binaryen-archive/virtual/features.mli +0 -23
- binaryen-archive/virtual/function_table.mli +0 -4
- binaryen-archive/virtual/global.mli +0 -7
- binaryen-archive/virtual/module.mli +0 -67
- binaryen-archive/virtual/table.mli +0 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2020 WebAssembly Community Group participants
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
DELEGATE(Nop);
|
|
18
|
-
DELEGATE(Block);
|
|
19
|
-
DELEGATE(If);
|
|
20
|
-
DELEGATE(Loop);
|
|
21
|
-
DELEGATE(Break);
|
|
22
|
-
DELEGATE(Switch);
|
|
23
|
-
DELEGATE(Call);
|
|
24
|
-
DELEGATE(CallIndirect);
|
|
25
|
-
DELEGATE(LocalGet);
|
|
26
|
-
DELEGATE(LocalSet);
|
|
27
|
-
DELEGATE(GlobalGet);
|
|
28
|
-
DELEGATE(GlobalSet);
|
|
29
|
-
DELEGATE(Load);
|
|
30
|
-
DELEGATE(Store);
|
|
31
|
-
DELEGATE(AtomicRMW);
|
|
32
|
-
DELEGATE(AtomicCmpxchg);
|
|
33
|
-
DELEGATE(AtomicWait);
|
|
34
|
-
DELEGATE(AtomicNotify);
|
|
35
|
-
DELEGATE(AtomicFence);
|
|
36
|
-
DELEGATE(SIMDExtract);
|
|
37
|
-
DELEGATE(SIMDReplace);
|
|
38
|
-
DELEGATE(SIMDShuffle);
|
|
39
|
-
DELEGATE(SIMDTernary);
|
|
40
|
-
DELEGATE(SIMDShift);
|
|
41
|
-
DELEGATE(SIMDLoad);
|
|
42
|
-
DELEGATE(SIMDLoadStoreLane);
|
|
43
|
-
DELEGATE(SIMDWiden);
|
|
44
|
-
DELEGATE(Prefetch);
|
|
45
|
-
DELEGATE(MemoryInit);
|
|
46
|
-
DELEGATE(DataDrop);
|
|
47
|
-
DELEGATE(MemoryCopy);
|
|
48
|
-
DELEGATE(MemoryFill);
|
|
49
|
-
DELEGATE(Const);
|
|
50
|
-
DELEGATE(Unary);
|
|
51
|
-
DELEGATE(Binary);
|
|
52
|
-
DELEGATE(Select);
|
|
53
|
-
DELEGATE(Drop);
|
|
54
|
-
DELEGATE(Return);
|
|
55
|
-
DELEGATE(MemorySize);
|
|
56
|
-
DELEGATE(MemoryGrow);
|
|
57
|
-
DELEGATE(Unreachable);
|
|
58
|
-
DELEGATE(Pop);
|
|
59
|
-
DELEGATE(RefNull);
|
|
60
|
-
DELEGATE(RefIs);
|
|
61
|
-
DELEGATE(RefFunc);
|
|
62
|
-
DELEGATE(RefEq);
|
|
63
|
-
DELEGATE(Try);
|
|
64
|
-
DELEGATE(Throw);
|
|
65
|
-
DELEGATE(Rethrow);
|
|
66
|
-
DELEGATE(TupleMake);
|
|
67
|
-
DELEGATE(TupleExtract);
|
|
68
|
-
DELEGATE(I31New);
|
|
69
|
-
DELEGATE(I31Get);
|
|
70
|
-
DELEGATE(CallRef);
|
|
71
|
-
DELEGATE(RefTest);
|
|
72
|
-
DELEGATE(RefCast);
|
|
73
|
-
DELEGATE(BrOn);
|
|
74
|
-
DELEGATE(RttCanon);
|
|
75
|
-
DELEGATE(RttSub);
|
|
76
|
-
DELEGATE(StructNew);
|
|
77
|
-
DELEGATE(StructGet);
|
|
78
|
-
DELEGATE(StructSet);
|
|
79
|
-
DELEGATE(ArrayNew);
|
|
80
|
-
DELEGATE(ArrayGet);
|
|
81
|
-
DELEGATE(ArraySet);
|
|
82
|
-
DELEGATE(ArrayLen);
|
|
83
|
-
DELEGATE(RefAs);
|
|
84
|
-
|
|
85
|
-
#undef DELEGATE
|
binaryen-archive/virtual/dune
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type t
|
|
2
|
-
|
|
3
|
-
val add_function_export : Module.t -> string -> string -> t
|
|
4
|
-
|
|
5
|
-
val add_table_export : Module.t -> string -> string -> t
|
|
6
|
-
|
|
7
|
-
val add_memory_export : Module.t -> string -> string -> t
|
|
8
|
-
|
|
9
|
-
val add_global_export : Module.t -> string -> string -> t
|
|
10
|
-
|
|
11
|
-
val remove_export : Module.t -> string -> unit
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
type t
|
|
2
|
-
|
|
3
|
-
val block : ?return_type:Type.t -> Module.t -> string -> t list -> t
|
|
4
|
-
|
|
5
|
-
val if_ : Module.t -> t -> t -> t -> t
|
|
6
|
-
|
|
7
|
-
val loop : Module.t -> string -> t -> t
|
|
8
|
-
|
|
9
|
-
val break : Module.t -> string -> t -> t -> t
|
|
10
|
-
|
|
11
|
-
val switch : Module.t -> string list -> string -> t -> t -> t
|
|
12
|
-
|
|
13
|
-
val call : Module.t -> string -> t list -> Type.t -> t
|
|
14
|
-
|
|
15
|
-
val call_indirect : Module.t -> string -> t -> t list -> Type.t -> Type.t -> t
|
|
16
|
-
|
|
17
|
-
val return_call : Module.t -> string -> t list -> Type.t -> t
|
|
18
|
-
|
|
19
|
-
val return_call_indirect :
|
|
20
|
-
Module.t -> string -> t -> t list -> Type.t -> Type.t -> t
|
|
21
|
-
|
|
22
|
-
val local_get : Module.t -> int -> Type.t -> t
|
|
23
|
-
|
|
24
|
-
val local_set : Module.t -> int -> t -> t
|
|
25
|
-
|
|
26
|
-
val local_tee : Module.t -> int -> t -> Type.t -> t
|
|
27
|
-
|
|
28
|
-
val global_get : Module.t -> string -> Type.t -> t
|
|
29
|
-
|
|
30
|
-
val global_set : Module.t -> string -> t -> t
|
|
31
|
-
|
|
32
|
-
val load : Module.t -> int -> ?signed:bool -> int -> int -> Type.t -> t -> t
|
|
33
|
-
|
|
34
|
-
val store : Module.t -> int -> int -> int -> t -> t -> Type.t -> t
|
|
35
|
-
|
|
36
|
-
val const : Module.t -> Literal.t -> t
|
|
37
|
-
|
|
38
|
-
val unary : Module.t -> Op.t -> t -> t
|
|
39
|
-
|
|
40
|
-
val binary : Module.t -> Op.t -> t -> t -> t
|
|
41
|
-
|
|
42
|
-
val select : Module.t -> t -> t -> t -> t
|
|
43
|
-
|
|
44
|
-
val drop : Module.t -> t -> t
|
|
45
|
-
|
|
46
|
-
val return : Module.t -> t -> t
|
|
47
|
-
|
|
48
|
-
val memory_size : Module.t -> t
|
|
49
|
-
|
|
50
|
-
val memory_grow : Module.t -> t -> t
|
|
51
|
-
|
|
52
|
-
val nop : Module.t -> t
|
|
53
|
-
|
|
54
|
-
val unreachable : Module.t -> t
|
|
55
|
-
|
|
56
|
-
val memory_copy : Module.t -> t -> t -> t -> t
|
|
57
|
-
|
|
58
|
-
val memory_fill : Module.t -> t -> t -> t -> t
|
|
59
|
-
|
|
60
|
-
val tuple_make : Module.t -> t list -> t
|
|
61
|
-
|
|
62
|
-
val tuple_extract : Module.t -> t -> int -> t
|
|
63
|
-
|
|
64
|
-
val pop : Module.t -> Type.t -> t
|
|
65
|
-
|
|
66
|
-
val null : unit -> t
|
|
67
|
-
|
|
68
|
-
val print : t -> unit
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
val mvp : int
|
|
2
|
-
|
|
3
|
-
val atomics : int
|
|
4
|
-
|
|
5
|
-
val bulk_memory : int
|
|
6
|
-
|
|
7
|
-
val mutable_globals : int
|
|
8
|
-
|
|
9
|
-
val nontrapping_fp_to_int : int
|
|
10
|
-
|
|
11
|
-
val sign_ext : int
|
|
12
|
-
|
|
13
|
-
val simd128 : int
|
|
14
|
-
|
|
15
|
-
val exception_handling : int
|
|
16
|
-
|
|
17
|
-
val tail_call : int
|
|
18
|
-
|
|
19
|
-
val reference_types : int
|
|
20
|
-
|
|
21
|
-
val multivalue : int
|
|
22
|
-
|
|
23
|
-
val all : int
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
type t
|
|
2
|
-
|
|
3
|
-
val create : unit -> t
|
|
4
|
-
|
|
5
|
-
val dispose : t -> unit
|
|
6
|
-
|
|
7
|
-
val add_custom_section : t -> string -> string -> unit
|
|
8
|
-
|
|
9
|
-
val parse : string -> t
|
|
10
|
-
|
|
11
|
-
val print : t -> unit
|
|
12
|
-
|
|
13
|
-
val print_asmjs : t -> unit
|
|
14
|
-
|
|
15
|
-
val validate : t -> int
|
|
16
|
-
|
|
17
|
-
val optimize : t -> unit
|
|
18
|
-
|
|
19
|
-
val set_features : t -> int list -> unit
|
|
20
|
-
|
|
21
|
-
val get_optimize_level : unit -> int
|
|
22
|
-
|
|
23
|
-
val set_optimize_level : int -> unit
|
|
24
|
-
|
|
25
|
-
val get_shrink_level : unit -> int
|
|
26
|
-
|
|
27
|
-
val set_shrink_level : int -> unit
|
|
28
|
-
|
|
29
|
-
val get_debug_info : unit -> int
|
|
30
|
-
|
|
31
|
-
val set_debug_info : int -> unit
|
|
32
|
-
|
|
33
|
-
val get_low_memory_unused : unit -> int
|
|
34
|
-
|
|
35
|
-
val set_low_memory_unused : int -> unit
|
|
36
|
-
|
|
37
|
-
val get_pass_argument : string -> string
|
|
38
|
-
|
|
39
|
-
val set_pass_argument : string -> string -> unit
|
|
40
|
-
|
|
41
|
-
val get_always_inline_max_size : unit -> int
|
|
42
|
-
|
|
43
|
-
val set_always_inline_max_size : int -> unit
|
|
44
|
-
|
|
45
|
-
val get_flexible_inline_max_size : unit -> int
|
|
46
|
-
|
|
47
|
-
val set_flexible_inline_max_size : int -> unit
|
|
48
|
-
|
|
49
|
-
val get_one_caller_inline_max_size : unit -> int
|
|
50
|
-
|
|
51
|
-
val set_one_caller_inline_max_size : int -> unit
|
|
52
|
-
|
|
53
|
-
val run_passes : t -> string list -> unit
|
|
54
|
-
|
|
55
|
-
val auto_drop : t -> unit
|
|
56
|
-
|
|
57
|
-
val write : t -> string option -> bytes * string option
|
|
58
|
-
|
|
59
|
-
val write_text : t -> string
|
|
60
|
-
|
|
61
|
-
val read : bytes -> t
|
|
62
|
-
|
|
63
|
-
val interpret : t -> unit
|
|
64
|
-
|
|
65
|
-
val add_debug_info_filename : t -> string -> int
|
|
66
|
-
|
|
67
|
-
val get_debug_info_filename : t -> int -> string
|