Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AssemblyScript/assemblyscript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.27.1
Choose a base ref
...
head repository: AssemblyScript/assemblyscript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.27.2
Choose a head ref
  • 3 commits
  • 266 files changed
  • 2 contributors

Commits on Mar 9, 2023

  1. Copy the full SHA
    076d8a9 View commit details

Commits on Apr 11, 2023

  1. fix: Update Binaryen to 112.0.0-nightly.20230411 (#2683)

    Emscripten lowered the default stack size of emitted modules to 64kb recently, easily producing stack overflows in the optimizer. This version of Binaryen increases stack size to the previous 5mb again.
    dcodeIO authored Apr 11, 2023
    Copy the full SHA
    f7571a4 View commit details
  2. Copy the full SHA
    77d0af2 View commit details
Showing with 9,910 additions and 8,765 deletions.
  1. +1 −1 cli/options.json
  2. +9 −9 package-lock.json
  3. +1 −1 package.json
  4. +574 −48 src/builtins.ts
  5. +16 −13 src/glue/binaryen.d.ts
  6. +7 −7 src/glue/binaryen.js
  7. +17 −15 src/module.ts
  8. +12 −12 src/passes/pass.ts
  9. +1 −1 src/program.ts
  10. +109 −5 std/assembly/builtins.ts
  11. +262 −12 std/assembly/index.d.ts
  12. +6 −6 tests/compiler/NonNullable.debug.wat
  13. +12 −12 tests/compiler/NonNullable.release.wat
  14. +1 −1 tests/compiler/abi.debug.wat
  15. +2 −2 tests/compiler/abi.release.wat
  16. +5 −5 tests/compiler/assert-nonnull.debug.wat
  17. +10 −11 tests/compiler/assert-nonnull.release.wat
  18. +1 −1 tests/compiler/bigint-integration.debug.wat
  19. +2 −2 tests/compiler/bigint-integration.release.wat
  20. +4 −4 tests/compiler/binary.debug.wat
  21. +132 −132 tests/compiler/binary.release.wat
  22. +23 −23 tests/compiler/bindings/esm.debug.wat
  23. +40 −40 tests/compiler/bindings/esm.release.wat
  24. +16 −16 tests/compiler/bindings/noExportRuntime.debug.wat
  25. +25 −25 tests/compiler/bindings/noExportRuntime.release.wat
  26. +23 −23 tests/compiler/bindings/raw.debug.wat
  27. +40 −40 tests/compiler/bindings/raw.release.wat
  28. +2 −2 tests/compiler/bool-Oz.debug.wat
  29. +2 −2 tests/compiler/bool-Oz.release.wat
  30. +1 −1 tests/compiler/bool.debug.wat
  31. +2 −2 tests/compiler/bool.release.wat
  32. +27 −27 tests/compiler/builtins.debug.wat
  33. +54 −54 tests/compiler/builtins.release.wat
  34. +1 −1 tests/compiler/call-inferred.debug.wat
  35. +2 −2 tests/compiler/call-inferred.release.wat
  36. +2 −2 tests/compiler/call-optional.debug.wat
  37. +4 −4 tests/compiler/call-optional.release.wat
  38. +10 −10 tests/compiler/call-super.debug.wat
  39. +13 −13 tests/compiler/call-super.release.wat
  40. +10 −10 tests/compiler/class-implements.debug.wat
  41. +20 −20 tests/compiler/class-implements.release.wat
  42. +14 −14 tests/compiler/class-overloading-cast.debug.wat
  43. +21 −21 tests/compiler/class-overloading-cast.release.wat
  44. +18 −18 tests/compiler/class-overloading.debug.wat
  45. +135 −135 tests/compiler/class-overloading.release.wat
  46. +2 −2 tests/compiler/class-static-function.debug.wat
  47. +4 −4 tests/compiler/class-static-function.release.wat
  48. +11 −11 tests/compiler/class.debug.wat
  49. +15 −15 tests/compiler/class.release.wat
  50. +1 −1 tests/compiler/comma.debug.wat
  51. +2 −2 tests/compiler/comma.release.wat
  52. +10 −10 tests/compiler/constructor.debug.wat
  53. +13 −13 tests/compiler/constructor.release.wat
  54. +1 −1 tests/compiler/declare.debug.wat
  55. +2 −2 tests/compiler/declare.release.wat
  56. +10 −10 tests/compiler/do.debug.wat
  57. +25 −25 tests/compiler/do.release.wat
  58. +10 −10 tests/compiler/duplicate-fields.debug.wat
  59. +13 −13 tests/compiler/duplicate-fields.release.wat
  60. +11 −11 tests/compiler/empty-exportruntime.debug.wat
  61. +15 −15 tests/compiler/empty-exportruntime.release.wat
  62. +9 −9 tests/compiler/empty-new.debug.wat
  63. +11 −11 tests/compiler/empty-new.release.wat
  64. +1 −1 tests/compiler/exportimport-table.debug.wat
  65. +2 −2 tests/compiler/exportimport-table.release.wat
  66. +4 −4 tests/compiler/exports-lazy.debug.wat
  67. +8 −8 tests/compiler/exports-lazy.release.wat
  68. +11 −11 tests/compiler/exportstar-rereexport.debug.wat
  69. +15 −15 tests/compiler/exportstar-rereexport.release.wat
  70. +15 −15 tests/compiler/extends-baseaggregate.debug.wat
  71. +24 −24 tests/compiler/extends-baseaggregate.release.wat
  72. +9 −9 tests/compiler/extends-recursive.debug.wat
  73. +11 −11 tests/compiler/extends-recursive.release.wat
  74. +1 −1 tests/compiler/features/gc.debug.wat
  75. +2 −2 tests/compiler/features/gc.release.wat
  76. +2 −2 tests/compiler/features/reference-types.debug.wat
  77. +4 −4 tests/compiler/features/reference-types.release.wat
  78. +175 −0 tests/compiler/features/relaxed-simd.debug.wat
  79. +9 −0 tests/compiler/features/relaxed-simd.json
  80. +4 −0 tests/compiler/features/relaxed-simd.release.wat
  81. +83 −0 tests/compiler/features/relaxed-simd.ts
  82. +17 −17 tests/compiler/field-initialization.debug.wat
  83. +28 −28 tests/compiler/field-initialization.release.wat
  84. +10 −10 tests/compiler/field.debug.wat
  85. +14 −14 tests/compiler/field.release.wat
  86. +10 −10 tests/compiler/for.debug.wat
  87. +27 −27 tests/compiler/for.release.wat
  88. +18 −18 tests/compiler/function-call.debug.wat
  89. +30 −30 tests/compiler/function-call.release.wat
  90. +29 −29 tests/compiler/function-expression.debug.wat
  91. +51 −51 tests/compiler/function-expression.release.wat
  92. +5 −5 tests/compiler/function-types.debug.wat
  93. +10 −10 tests/compiler/function-types.release.wat
  94. +10 −10 tests/compiler/getter-call.debug.wat
  95. +13 −13 tests/compiler/getter-call.release.wat
  96. +1 −1 tests/compiler/getter-setter.debug.wat
  97. +2 −2 tests/compiler/getter-setter.release.wat
  98. +2 −2 tests/compiler/heap.debug.wat
  99. +4 −4 tests/compiler/heap.release.wat
  100. +2 −2 tests/compiler/if.debug.wat
  101. +4 −4 tests/compiler/if.release.wat
  102. +1 −1 tests/compiler/import-memory.debug.wat
  103. +1 −1 tests/compiler/import-memory.release.wat
  104. +26 −26 tests/compiler/infer-array.debug.wat
  105. +47 −47 tests/compiler/infer-array.release.wat
  106. +13 −13 tests/compiler/infer-generic.debug.wat
  107. +19 −19 tests/compiler/infer-generic.release.wat
  108. +1 −1 tests/compiler/inlining-blocklocals.debug.wat
  109. +2 −2 tests/compiler/inlining-blocklocals.release.wat
  110. +11 −11 tests/compiler/inlining.debug.wat
  111. +16 −16 tests/compiler/inlining.release.wat
  112. +10 −10 tests/compiler/instanceof.debug.wat
  113. +44 −44 tests/compiler/instanceof.release.wat
  114. +12 −12 tests/compiler/issues/1095.debug.wat
  115. +17 −17 tests/compiler/issues/1095.release.wat
  116. +10 −10 tests/compiler/issues/1225.debug.wat
  117. +13 −13 tests/compiler/issues/1225.release.wat
  118. +13 −13 tests/compiler/issues/1699.debug.wat
  119. +19 −19 tests/compiler/issues/1699.release.wat
  120. +2 −2 tests/compiler/issues/1714.debug.wat
  121. +4 −4 tests/compiler/issues/1714.release.wat
  122. +14 −14 tests/compiler/issues/2166.debug.wat
  123. +21 −21 tests/compiler/issues/2166.release.wat
  124. +9 −9 tests/compiler/issues/2322/index.debug.wat
  125. +11 −11 tests/compiler/issues/2322/index.release.wat
  126. +9 −9 tests/compiler/issues/2622.debug.wat
  127. +11 −11 tests/compiler/issues/2622.release.wat
  128. +10 −10 tests/compiler/logical.debug.wat
  129. +13 −13 tests/compiler/logical.release.wat
  130. +2 −2 tests/compiler/loop-flow.debug.wat
  131. +4 −4 tests/compiler/loop-flow.release.wat
  132. +12 −12 tests/compiler/managed-cast.debug.wat
  133. +21 −21 tests/compiler/managed-cast.release.wat
  134. +1 −1 tests/compiler/many-locals.debug.wat
  135. +2 −2 tests/compiler/many-locals.release.wat
  136. +1 −1 tests/compiler/memcpy.debug.wat
  137. +2 −2 tests/compiler/memcpy.release.wat
  138. +1 −1 tests/compiler/memmove.debug.wat
  139. +2 −2 tests/compiler/memmove.release.wat
  140. +25 −25 tests/compiler/memory.debug.wat
  141. +10 −10 tests/compiler/memory.release.wat
  142. +1 −1 tests/compiler/memorybase.debug.wat
  143. +1 −1 tests/compiler/memset.debug.wat
  144. +2 −2 tests/compiler/memset.release.wat
  145. +1 −1 tests/compiler/mutable-globals.debug.wat
  146. +2 −2 tests/compiler/mutable-globals.release.wat
  147. +9 −9 tests/compiler/new.debug.wat
  148. +11 −11 tests/compiler/new.release.wat
  149. +16 −16 tests/compiler/object-literal.debug.wat
  150. +26 −26 tests/compiler/object-literal.release.wat
  151. +9 −9 tests/compiler/optional-typeparameters.debug.wat
  152. +11 −11 tests/compiler/optional-typeparameters.release.wat
  153. +1 −1 tests/compiler/overflow.debug.wat
  154. +2 −2 tests/compiler/overflow.release.wat
  155. +1 −1 tests/compiler/portable-conversions.debug.wat
  156. +2 −2 tests/compiler/portable-conversions.release.wat
  157. +10 −10 tests/compiler/reexport.debug.wat
  158. +13 −13 tests/compiler/reexport.release.wat
  159. +11 −11 tests/compiler/rereexport.debug.wat
  160. +15 −15 tests/compiler/rereexport.release.wat
  161. +17 −17 tests/compiler/resolve-access.debug.wat
  162. +26 −26 tests/compiler/resolve-access.release.wat
  163. +46 −46 tests/compiler/resolve-binary.debug.wat
  164. +205 −205 tests/compiler/resolve-binary.release.wat
  165. +33 −33 tests/compiler/resolve-elementaccess.debug.wat
  166. +53 −53 tests/compiler/resolve-elementaccess.release.wat
  167. +20 −20 tests/compiler/resolve-function-expression.debug.wat
  168. +32 −32 tests/compiler/resolve-function-expression.release.wat
  169. +9 −9 tests/compiler/resolve-new.debug.wat
  170. +11 −11 tests/compiler/resolve-new.release.wat
  171. +28 −28 tests/compiler/resolve-propertyaccess.debug.wat
  172. +48 −48 tests/compiler/resolve-propertyaccess.release.wat
  173. +30 −30 tests/compiler/resolve-ternary.debug.wat
  174. +47 −47 tests/compiler/resolve-ternary.release.wat
  175. +33 −33 tests/compiler/resolve-unary.debug.wat
  176. +58 −58 tests/compiler/resolve-unary.release.wat
  177. +1 −1 tests/compiler/retain-i32.debug.wat
  178. +2 −2 tests/compiler/retain-i32.release.wat
  179. +11 −11 tests/compiler/return-unreachable.debug.wat
  180. +15 −15 tests/compiler/return-unreachable.release.wat
  181. +1 −1 tests/compiler/return.debug.wat
  182. +2 −2 tests/compiler/return.release.wat
  183. +10 −10 tests/compiler/rt/finalize.debug.wat
  184. +13 −13 tests/compiler/rt/finalize.release.wat
  185. +4 −4 tests/compiler/rt/flags.debug.wat
  186. +7 −7 tests/compiler/rt/flags.release.wat
  187. +11 −11 tests/compiler/rt/runtime-incremental-export.debug.wat
  188. +15 −15 tests/compiler/rt/runtime-incremental-export.release.wat
  189. +9 −9 tests/compiler/rt/runtime-minimal-export.debug.wat
  190. +11 −11 tests/compiler/rt/runtime-minimal-export.release.wat
  191. +3 −3 tests/compiler/rt/runtime-stub-export.debug.wat
  192. +5 −5 tests/compiler/rt/runtime-stub-export.release.wat
  193. +95 −114 tests/compiler/simd.debug.wat
  194. +23 −23 tests/compiler/simd.release.wat
  195. +0 −5 tests/compiler/simd.ts
  196. +1 −1 tests/compiler/static-this.debug.wat
  197. +2 −2 tests/compiler/static-this.release.wat
  198. +4 −4 tests/compiler/std/array-access.debug.wat
  199. +8 −9 tests/compiler/std/array-access.release.wat
  200. +18 −18 tests/compiler/std/array-literal.debug.wat
  201. +29 −29 tests/compiler/std/array-literal.release.wat
  202. +302 −302 tests/compiler/std/array.debug.wat
  203. +680 −680 tests/compiler/std/array.release.wat
  204. +14 −14 tests/compiler/std/arraybuffer.debug.wat
  205. +21 −21 tests/compiler/std/arraybuffer.release.wat
  206. +14 −14 tests/compiler/std/console.debug.wat
  207. +28 −28 tests/compiler/std/console.release.wat
  208. +14 −14 tests/compiler/std/dataview.debug.wat
  209. +21 −21 tests/compiler/std/dataview.release.wat
  210. +110 −110 tests/compiler/std/date.debug.wat
  211. +210 −210 tests/compiler/std/date.release.wat
  212. +10 −10 tests/compiler/std/hash.debug.wat
  213. +20 −20 tests/compiler/std/hash.release.wat
  214. +15 −15 tests/compiler/std/map.debug.wat
  215. +23 −23 tests/compiler/std/map.release.wat
  216. +12 −12 tests/compiler/std/math.debug.wat
  217. +141 −141 tests/compiler/std/math.release.wat
  218. +1 −1 tests/compiler/std/mod.debug.wat
  219. +2 −2 tests/compiler/std/mod.release.wat
  220. +9 −9 tests/compiler/std/new.debug.wat
  221. +11 −11 tests/compiler/std/new.release.wat
  222. +7 −7 tests/compiler/std/object.debug.wat
  223. +14 −14 tests/compiler/std/object.release.wat
  224. +12 −12 tests/compiler/std/operator-overloading.debug.wat
  225. +17 −17 tests/compiler/std/operator-overloading.release.wat
  226. +1 −1 tests/compiler/std/pointer.debug.wat
  227. +2 −2 tests/compiler/std/pointer.release.wat
  228. +13 −13 tests/compiler/std/set.debug.wat
  229. +19 −19 tests/compiler/std/set.release.wat
  230. +20 −20 tests/compiler/std/static-array.debug.wat
  231. +34 −34 tests/compiler/std/static-array.release.wat
  232. +68 −68 tests/compiler/std/staticarray.debug.wat
  233. +152 −152 tests/compiler/std/staticarray.release.wat
  234. +179 −179 tests/compiler/std/string-casemapping.debug.wat
  235. +454 −454 tests/compiler/std/string-casemapping.release.wat
  236. +27 −27 tests/compiler/std/string-encoding.debug.wat
  237. +47 −47 tests/compiler/std/string-encoding.release.wat
  238. +1 −1 tests/compiler/std/string-nonnull.debug.wat
  239. +2 −2 tests/compiler/std/string-nonnull.release.wat
  240. +472 −472 tests/compiler/std/string.debug.wat
  241. +930 −930 tests/compiler/std/string.release.wat
  242. +34 −34 tests/compiler/std/symbol.debug.wat
  243. +63 −63 tests/compiler/std/symbol.release.wat
  244. +8 −8 tests/compiler/std/trace.debug.wat
  245. +16 −16 tests/compiler/std/trace.release.wat
  246. +305 −305 tests/compiler/std/typedarray.debug.wat
  247. +688 −688 tests/compiler/std/typedarray.release.wat
  248. +67 −67 tests/compiler/std/uri.debug.wat
  249. +130 −130 tests/compiler/std/uri.release.wat
  250. +9 −9 tests/compiler/super-inline.debug.wat
  251. +11 −11 tests/compiler/super-inline.release.wat
  252. +1 −1 tests/compiler/switch.debug.wat
  253. +2 −2 tests/compiler/switch.release.wat
  254. +2 −2 tests/compiler/tablebase.debug.wat
  255. +4 −4 tests/compiler/tablebase.release.wat
  256. +58 −58 tests/compiler/templateliteral.debug.wat
  257. +98 −98 tests/compiler/templateliteral.release.wat
  258. +1 −1 tests/compiler/ternary.debug.wat
  259. +2 −3 tests/compiler/ternary.release.wat
  260. +17 −17 tests/compiler/throw.debug.wat
  261. +29 −29 tests/compiler/throw.release.wat
  262. +18 −18 tests/compiler/typeof.debug.wat
  263. +30 −30 tests/compiler/typeof.release.wat
  264. +10 −10 tests/compiler/while.debug.wat
  265. +39 −39 tests/compiler/while.release.wat
  266. +16 −0 tests/features.json
2 changes: 1 addition & 1 deletion cli/options.json
Original file line number Diff line number Diff line change
@@ -221,14 +221,14 @@
" reference-types Reference types and operations.",
" gc Garbage collection (WIP).",
" stringref String reference types.",
" relaxed-simd Relaxed SIMD operations.",
""
],
"TODO_doesNothingYet": [
" exception-handling Exception handling.",
" tail-calls Tail call operations.",
" multi-value Multi value types.",
" memory64 Memory64 operations.",
" relaxed-simd Relaxed SIMD operations.",
" extended-const Extended const expressions."
],
"type": "S",
18 changes: 9 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
},
"engineStrict": true,
"dependencies": {
"binaryen": "111.0.0-nightly.20230202",
"binaryen": "112.0.0-nightly.20230411",
"long": "^5.2.1"
},
"devDependencies": {
Loading