binaryen 1.1.6.pre.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +58 -0
  3. data/extconf.rb +75 -0
  4. data/lib/binaryen/command.rb +57 -0
  5. data/lib/binaryen/error.rb +6 -0
  6. data/lib/binaryen/version.rb +6 -0
  7. data/lib/binaryen.rb +38 -0
  8. data/vendor/arm64-darwin/bin/wasm-as +0 -0
  9. data/vendor/arm64-darwin/bin/wasm-ctor-eval +0 -0
  10. data/vendor/arm64-darwin/bin/wasm-dis +0 -0
  11. data/vendor/arm64-darwin/bin/wasm-emscripten-finalize +0 -0
  12. data/vendor/arm64-darwin/bin/wasm-fuzz-lattices +0 -0
  13. data/vendor/arm64-darwin/bin/wasm-fuzz-types +0 -0
  14. data/vendor/arm64-darwin/bin/wasm-merge +0 -0
  15. data/vendor/arm64-darwin/bin/wasm-metadce +0 -0
  16. data/vendor/arm64-darwin/bin/wasm-opt +0 -0
  17. data/vendor/arm64-darwin/bin/wasm-reduce +0 -0
  18. data/vendor/arm64-darwin/bin/wasm-shell +0 -0
  19. data/vendor/arm64-darwin/bin/wasm-split +0 -0
  20. data/vendor/arm64-darwin/bin/wasm2js +0 -0
  21. data/vendor/arm64-darwin/include/binaryen-c.h +3615 -0
  22. data/vendor/arm64-darwin/include/wasm-delegations.def +105 -0
  23. data/vendor/arm64-darwin/lib/libbinaryen.dylib +0 -0
  24. data/vendor/x86_64-darwin/bin/wasm-as +0 -0
  25. data/vendor/x86_64-darwin/bin/wasm-ctor-eval +0 -0
  26. data/vendor/x86_64-darwin/bin/wasm-dis +0 -0
  27. data/vendor/x86_64-darwin/bin/wasm-emscripten-finalize +0 -0
  28. data/vendor/x86_64-darwin/bin/wasm-fuzz-lattices +0 -0
  29. data/vendor/x86_64-darwin/bin/wasm-fuzz-types +0 -0
  30. data/vendor/x86_64-darwin/bin/wasm-merge +0 -0
  31. data/vendor/x86_64-darwin/bin/wasm-metadce +0 -0
  32. data/vendor/x86_64-darwin/bin/wasm-opt +0 -0
  33. data/vendor/x86_64-darwin/bin/wasm-reduce +0 -0
  34. data/vendor/x86_64-darwin/bin/wasm-shell +0 -0
  35. data/vendor/x86_64-darwin/bin/wasm-split +0 -0
  36. data/vendor/x86_64-darwin/bin/wasm2js +0 -0
  37. data/vendor/x86_64-darwin/include/binaryen-c.h +3615 -0
  38. data/vendor/x86_64-darwin/include/wasm-delegations.def +105 -0
  39. data/vendor/x86_64-darwin/lib/libbinaryen.dylib +0 -0
  40. data/vendor/x86_64-linux/bin/wasm-as +0 -0
  41. data/vendor/x86_64-linux/bin/wasm-ctor-eval +0 -0
  42. data/vendor/x86_64-linux/bin/wasm-dis +0 -0
  43. data/vendor/x86_64-linux/bin/wasm-emscripten-finalize +0 -0
  44. data/vendor/x86_64-linux/bin/wasm-fuzz-lattices +0 -0
  45. data/vendor/x86_64-linux/bin/wasm-fuzz-types +0 -0
  46. data/vendor/x86_64-linux/bin/wasm-merge +0 -0
  47. data/vendor/x86_64-linux/bin/wasm-metadce +0 -0
  48. data/vendor/x86_64-linux/bin/wasm-opt +0 -0
  49. data/vendor/x86_64-linux/bin/wasm-reduce +0 -0
  50. data/vendor/x86_64-linux/bin/wasm-shell +0 -0
  51. data/vendor/x86_64-linux/bin/wasm-split +0 -0
  52. data/vendor/x86_64-linux/bin/wasm2js +0 -0
  53. data/vendor/x86_64-linux/include/binaryen-c.h +3615 -0
  54. data/vendor/x86_64-linux/include/wasm-delegations.def +105 -0
  55. data/vendor/x86_64-linux/lib/libbinaryen.a +0 -0
  56. metadata +99 -0
@@ -0,0 +1,105 @@
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(MemoryInit);
44
+ DELEGATE(DataDrop);
45
+ DELEGATE(MemoryCopy);
46
+ DELEGATE(MemoryFill);
47
+ DELEGATE(Const);
48
+ DELEGATE(Unary);
49
+ DELEGATE(Binary);
50
+ DELEGATE(Select);
51
+ DELEGATE(Drop);
52
+ DELEGATE(Return);
53
+ DELEGATE(MemorySize);
54
+ DELEGATE(MemoryGrow);
55
+ DELEGATE(Unreachable);
56
+ DELEGATE(Pop);
57
+ DELEGATE(RefNull);
58
+ DELEGATE(RefIsNull);
59
+ DELEGATE(RefFunc);
60
+ DELEGATE(RefEq);
61
+ DELEGATE(TableGet);
62
+ DELEGATE(TableSet);
63
+ DELEGATE(TableSize);
64
+ DELEGATE(TableGrow);
65
+ DELEGATE(Try);
66
+ DELEGATE(Throw);
67
+ DELEGATE(Rethrow);
68
+ DELEGATE(TupleMake);
69
+ DELEGATE(TupleExtract);
70
+ DELEGATE(RefI31);
71
+ DELEGATE(I31Get);
72
+ DELEGATE(CallRef);
73
+ DELEGATE(RefTest);
74
+ DELEGATE(RefCast);
75
+ DELEGATE(BrOn);
76
+ DELEGATE(StructNew);
77
+ DELEGATE(StructGet);
78
+ DELEGATE(StructSet);
79
+ DELEGATE(ArrayNew);
80
+ DELEGATE(ArrayNewData);
81
+ DELEGATE(ArrayNewElem);
82
+ DELEGATE(ArrayNewFixed);
83
+ DELEGATE(ArrayGet);
84
+ DELEGATE(ArraySet);
85
+ DELEGATE(ArrayLen);
86
+ DELEGATE(ArrayCopy);
87
+ DELEGATE(ArrayFill);
88
+ DELEGATE(ArrayInitData);
89
+ DELEGATE(ArrayInitElem);
90
+ DELEGATE(RefAs);
91
+ DELEGATE(StringNew);
92
+ DELEGATE(StringConst);
93
+ DELEGATE(StringMeasure);
94
+ DELEGATE(StringEncode);
95
+ DELEGATE(StringConcat);
96
+ DELEGATE(StringEq);
97
+ DELEGATE(StringAs);
98
+ DELEGATE(StringWTF8Advance);
99
+ DELEGATE(StringWTF16Get);
100
+ DELEGATE(StringIterNext);
101
+ DELEGATE(StringIterMove);
102
+ DELEGATE(StringSliceWTF);
103
+ DELEGATE(StringSliceIter);
104
+
105
+ #undef DELEGATE
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file